docker.io/library/golang:1.23.3-bookworm linux/amd64

docker.io/library/golang:1.23.3-bookworm - 国内下载镜像源 浏览次数:72 安全受验证的发布者-Docker

Go语言官方镜像

源镜像 docker.io/library/golang:1.23.3-bookworm
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.23.3-bookworm
镜像ID sha256:0457bb691895d9d1b47fd0d8c5328b697ad2a121234dda0f232409951232930d
镜像TAG 1.23.3-bookworm
大小 837.77MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录 /go
OS/平台 linux/amd64
浏览量 72 次
贡献者
镜像创建 2024-11-07T00:26:15Z
同步时间 2024-11-25 14:39
更新时间 2025-01-18 13:59
环境变量
PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOLANG_VERSION=1.23.3 GOTOOLCHAIN=local GOPATH=/go
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.8 扫描引擎: Trivy 扫描时间: 2024-11-25 14:40

低危漏洞:267 中危漏洞:437 高危漏洞:100 严重漏洞:2

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.23.3-bookworm
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.23.3-bookworm  docker.io/library/golang:1.23.3-bookworm

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.23.3-bookworm
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.23.3-bookworm  docker.io/library/golang:1.23.3-bookworm

Shell快速替换命令

sed -i 's#library/golang:1.23.3-bookworm#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.23.3-bookworm#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.23.3-bookworm && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.23.3-bookworm  docker.io/library/golang:1.23.3-bookworm'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.23.3-bookworm && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.23.3-bookworm  docker.io/library/golang:1.23.3-bookworm'

镜像构建历史


# 2024-11-07 08:26:15  0.00B 设置工作目录为/go
WORKDIR /go
                        
# 2024-11-07 08:26:15  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit
                        
# 2024-11-07 08:26:15  237.20MB 复制新文件或目录到容器中
COPY /target/ / # buildkit
                        
# 2024-11-07 08:26:15  0.00B 设置环境变量 PATH
ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-11-07 08:26:15  0.00B 设置环境变量 GOPATH
ENV GOPATH=/go
                        
# 2024-11-07 08:26:15  0.00B 设置环境变量 GOTOOLCHAIN
ENV GOTOOLCHAIN=local
                        
# 2024-11-07 08:26:15  0.00B 设置环境变量 GOLANG_VERSION
ENV GOLANG_VERSION=1.23.3
                        
# 2024-11-07 08:26:15  258.50MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		g++ 		gcc 		libc6-dev 		make 		pkg-config 	; 	rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2024-01-09 09:14:25  177.11MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		git 		mercurial 		openssh-client 		subversion 				procps 	; 	rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2023-05-11 07:29:59  48.46MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		ca-certificates 		curl 		gnupg 		netbase 		sq 		wget 	; 	rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2023-05-11 07:29:59  0.00B 设置默认要执行的命令
CMD ["bash"]
                        
# 2023-05-11 07:29:59  116.51MB 复制文件或目录到容器中
ADD rootfs.tar.xz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:0457bb691895d9d1b47fd0d8c5328b697ad2a121234dda0f232409951232930d",
    "RepoTags": [
        "golang:1.23.3-bookworm",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.23.3-bookworm"
    ],
    "RepoDigests": [
        "golang@sha256:3f3b9daa3de608f3e869cd2ff8baf21555cf0fca9fd34251b8f340f9b7c30ec5",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang@sha256:0a8ee9294562b6107410e4fb7f901be2cf171daf3284554f649e4adbfca22c73"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-11-07T00:26:15Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "GOLANG_VERSION=1.23.3",
            "GOTOOLCHAIN=local",
            "GOPATH=/go"
        ],
        "Cmd": [
            "bash"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 837772992,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/7f02973ee04c09b0ca807532a0b58e83248f3f0452a1861a5ca5bf24f85298f4/diff:/var/lib/docker/overlay2/3d825575ea3eba1d640a291dcce16436fe10d3a766311dcaf5af374eeb979b77/diff:/var/lib/docker/overlay2/f1295fe0f371cb5309307c21fbd3de52c56f655cdf4bf316c977dcc5c86571dd/diff:/var/lib/docker/overlay2/9db3f38f1dcc0d5505bf4bac1b4d40a9921c7ba3427e8759c7d5a1a243137349/diff:/var/lib/docker/overlay2/d151eb606d37e63afa9cbace8a766a7ac70e2f523b30e8f0eea231b8533aff64/diff:/var/lib/docker/overlay2/472ce968128bae359d2869c9408f9986da91e0ab725569b9b2c8a58c1edae20a/diff",
            "MergedDir": "/var/lib/docker/overlay2/aec2c0ab21d82f7cebc728f38efba70a501e39e18430e96b70e6b8eb910b7523/merged",
            "UpperDir": "/var/lib/docker/overlay2/aec2c0ab21d82f7cebc728f38efba70a501e39e18430e96b70e6b8eb910b7523/diff",
            "WorkDir": "/var/lib/docker/overlay2/aec2c0ab21d82f7cebc728f38efba70a501e39e18430e96b70e6b8eb910b7523/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:24b5ce0f1e07d37a35460f50d058afcf738619e431013d2e1727609bdff2d7fc",
            "sha256:b6ca42156b9f492afa27c366f20e4e864cef8dd8d0e0a100497764b05b39e6fc",
            "sha256:00547dd240c419fa2e1b33e66aba302e8dfa4bfe6401a972d94a03b1355cbc6c",
            "sha256:a20fe4fffe616d7ef6f39ce10dda080cc99dbea9f6614618cd1652433a3ead07",
            "sha256:df6b26069bf53d83be3ea2306bf4f84a36e5961dff42fde7fad6a332f37f11e7",
            "sha256:14c27f887c512e74f29c439a07c27a0b7fcb1e1d994f8417060ee8df34a52dee",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-25T14:39:41.959598712+08:00"
    }
}

更多版本

docker.io/library/golang:1.21-alpine3.18

linux/arm64 docker.io220.43MB2024-08-15 14:52
250

docker.io/library/golang:1.21-alpine3.18

linux/amd64 docker.io221.72MB2024-08-15 15:00
196

docker.io/library/golang:1.22.5

linux/amd64 docker.io822.34MB2024-09-04 18:52
327

docker.io/library/golang:1.22.4-bullseye

linux/amd64 docker.io754.29MB2024-09-19 12:45
217

docker.io/library/golang:1.16

linux/amd64 docker.io919.63MB2024-10-11 10:14
101

docker.io/library/golang:1.16

linux/arm64 docker.io789.68MB2024-10-11 14:51
171

docker.io/library/golang:1.19

linux/arm64 docker.io947.65MB2024-11-06 15:48
95

docker.io/library/golang:1.21.5

linux/amd64 docker.io814.55MB2024-11-13 17:16
68

docker.io/library/golang:1.22-alpine3.20

linux/amd64 docker.io230.66MB2024-11-20 18:23
83

docker.io/library/golang:1.21.10

linux/amd64 docker.io813.94MB2024-11-23 00:57
63

docker.io/library/golang:1.23.3-bookworm

linux/amd64 docker.io837.77MB2024-11-25 14:39
71

docker.io/library/golang:1.23.4-alpine3.20

linux/amd64 docker.io245.54MB2024-12-05 16:30
105

docker.io/library/golang:1.23.4

linux/amd64 docker.io837.09MB2024-12-16 16:31
77

docker.io/library/golang:1.20.14

linux/amd64 docker.io845.61MB2025-01-02 15:28
27

docker.io/library/golang:1.20.14-bullseye

linux/amd64 docker.io777.50MB2025-01-02 15:53
24

docker.io/library/golang:1.23.4-alpine

linux/amd64 docker.io245.55MB2025-01-07 17:35
38

docker.io/library/golang:1.22.3

linux/amd64 docker.io822.34MB2025-01-07 19:35
35

docker.io/library/golang:1.22.1-alpine

linux/amd64 docker.io230.14MB2025-01-14 00:27
22