docker.io/library/golang:1.20.14-bullseye linux/amd64

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

Go语言官方镜像

源镜像 docker.io/library/golang:1.20.14-bullseye
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.20.14-bullseye
镜像ID sha256:24c3a036a50b5b84d4754e1bd86e529228b7d4a8cf0de1767330897bfc1184b8
镜像TAG 1.20.14-bullseye
大小 777.50MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录 /go
OS/平台 linux/amd64
浏览量 25 次
贡献者
镜像创建 2024-02-06T19:08:41Z
同步时间 2025-01-02 15:53
更新时间 2025-01-17 18:35
环境变量
PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOLANG_VERSION=1.20.14 GOPATH=/go
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 11.8 扫描引擎: Trivy 扫描时间: 2025-01-02 15:54

低危漏洞:522 中危漏洞:1827 高危漏洞:494 严重漏洞:39

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-02-07 03:08:41  0.00B 设置工作目录为/go
WORKDIR /go
                        
# 2024-02-07 03:08:41  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit
                        
# 2024-02-07 03:08:41  244.76MB 复制新文件或目录到容器中
COPY /usr/local/go/ /usr/local/go/ # buildkit
                        
# 2024-02-07 03:08:41  0.00B 设置环境变量 PATH
ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-02-07 03:08:41  0.00B 设置环境变量 GOPATH
ENV GOPATH=/go
                        
# 2024-02-07 03:08:41  0.00B 设置环境变量 GOLANG_VERSION
ENV GOLANG_VERSION=1.20.14
                        
# 2024-02-07 03:08:41  227.96MB 执行命令并创建新的镜像层
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-02-01 07:24:25  151.99MB 
/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/*
                        
# 2024-02-01 07:24:06  28.61MB 
/bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		ca-certificates 		curl 		gnupg 		netbase 		wget 	; 	rm -rf /var/lib/apt/lists/*
                        
# 2024-02-01 06:35:29  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2024-02-01 06:35:29  124.17MB 
/bin/sh -c #(nop) ADD file:4fa73c8d113df02c8656b74ab87563432215332f3de78446a02e5ab7d6e2ab7a in / 
                        
                    

镜像信息

{
    "Id": "sha256:24c3a036a50b5b84d4754e1bd86e529228b7d4a8cf0de1767330897bfc1184b8",
    "RepoTags": [
        "golang:1.20.14-bullseye",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.20.14-bullseye"
    ],
    "RepoDigests": [
        "golang@sha256:a393b941c42b0fae8beb0e5bc033cd6499563e2f1b8d2ccf00d395e8c2ccc0ce",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang@sha256:8fd44351d719dbf3f86ad095f9056040c33ccdeac9a18b54dec81fd152a31853"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-02-06T19:08:41Z",
    "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.20.14",
            "GOPATH=/go"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 777497329,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/30d5e6a904702e5a03b3acedf07889eef788f65eedf73fdfb14a51455f62824e/diff:/var/lib/docker/overlay2/abe040429a1c61e27882b7eb7638efe5f6bc349660f07e68fc74eb730aa6834d/diff:/var/lib/docker/overlay2/02dae11f3d8c9fd8f7826fd443a6103139712800449ce0da01d9fff1719d305b/diff:/var/lib/docker/overlay2/26ef34e4ad4685c2f9f3ffaf9e8d0018a77dcd9497b84b27c39d21b9a6838f90/diff:/var/lib/docker/overlay2/d3df091203dcd813508b558613069505d64168615f566364890a4e6c6bd1b7ec/diff:/var/lib/docker/overlay2/849af5fe0fa001a588c41d1634753141ec68f5b85f0d0fb90431369e8480765e/diff",
            "MergedDir": "/var/lib/docker/overlay2/f874fdfaa5c3140aa553b1c97da72559d3c3d2d2874d4df247d479a02dbf7b8d/merged",
            "UpperDir": "/var/lib/docker/overlay2/f874fdfaa5c3140aa553b1c97da72559d3c3d2d2874d4df247d479a02dbf7b8d/diff",
            "WorkDir": "/var/lib/docker/overlay2/f874fdfaa5c3140aa553b1c97da72559d3c3d2d2874d4df247d479a02dbf7b8d/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:e2d657dacd7ff90ffc0b99b6ae42aa03b7e78c840df5a574b141f23ac3c6a936",
            "sha256:36391eed1b08b71f5809cdbf0e7f1bba6e448bd19a8e54284314b9f11d11e9b9",
            "sha256:4d2b8f22196ab0a4f4ca09553be3102a80fc8d72060e52902490c26eeada4e3a",
            "sha256:0048497323ecb6c5325ec21123f0bc18ffb41d3fab1a19b4a9a6586a14fc7d69",
            "sha256:f3631f17fd665ef1025a3e0e34620b17e7c637697b2cdfdb03474ea10046f090",
            "sha256:bed3d6d98b08c4713b20740c461f425c7fd72a74be65167cbe8b7c5ef70230f1",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-02T15:53:58.512847222+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
72

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