docker.io/golang:1.17.3-buster linux/amd64

docker.io/golang:1.17.3-buster - 国内下载镜像源 浏览次数:46
🎉
Go语言官方镜像
这是一个由 Docker Hub 提供的 Go 语言官方镜像,您可以基于这个镜像创建自己的 Go 项目容器。
源镜像 docker.io/golang:1.17.3-buster
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.17.3-buster
镜像ID sha256:08f6df476f804a5160564b7727699b278c8cd356bb81ce50bfb5b61cd87f8b6a
镜像TAG 1.17.3-buster
大小 883.51MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录 /go
OS/平台 linux/amd64
浏览量 46 次
贡献者
镜像创建 2021-12-03T10:59:35.905749571Z
同步时间 2024-12-27 14:25
更新时间 2025-01-18 10:01
环境变量
PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOLANG_VERSION=1.17.3 GOPATH=/go
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 10.11 扫描引擎: Trivy 扫描时间: 2024-12-27 14:25

低危漏洞:785 中危漏洞:3069 高危漏洞:1621 严重漏洞:143

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.17.3-buster
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.17.3-buster  docker.io/golang:1.17.3-buster

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.17.3-buster
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.17.3-buster  docker.io/golang:1.17.3-buster

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2021-12-03 18:59:35  0.00B 
/bin/sh -c #(nop) WORKDIR /go
                        
# 2021-12-03 18:59:35  0.00B 
/bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
                        
# 2021-12-03 18:59:34  0.00B 
/bin/sh -c #(nop)  ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2021-12-03 18:59:34  0.00B 
/bin/sh -c #(nop)  ENV GOPATH=/go
                        
# 2021-12-03 18:59:33  407.79MB 
/bin/sh -c set -eux; 	arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; 	url=; 	case "$arch" in 		'amd64') 			url='https://dl.google.com/go/go1.17.3.linux-amd64.tar.gz'; 			sha256='550f9845451c0c94be679faf116291e7807a8d78b43149f9506c1b15eb89008c'; 			;; 		'armel') 			export GOARCH='arm' GOARM='5' GOOS='linux'; 			;; 		'armhf') 			url='https://dl.google.com/go/go1.17.3.linux-armv6l.tar.gz'; 			sha256='aa0d5516c8bd61654990916274d27491cfa229d322475502b247a8dc885adec5'; 			;; 		'arm64') 			url='https://dl.google.com/go/go1.17.3.linux-arm64.tar.gz'; 			sha256='06f505c8d27203f78706ad04e47050b49092f1b06dc9ac4fbee4f0e4d015c8d4'; 			;; 		'i386') 			url='https://dl.google.com/go/go1.17.3.linux-386.tar.gz'; 			sha256='982487a0264626950c635c5e185df68ecaadcca1361956207578d661a7b03bee'; 			;; 		'mips64el') 			export GOARCH='mips64le' GOOS='linux'; 			;; 		'ppc64el') 			url='https://dl.google.com/go/go1.17.3.linux-ppc64le.tar.gz'; 			sha256='b821ff58d088c61adc5d7376179a342f325d8715a06abdeb6974f6450663ee60'; 			;; 		's390x') 			url='https://dl.google.com/go/go1.17.3.linux-s390x.tar.gz'; 			sha256='7d1727e08fef295f48aed2b8124a07e3752e77aea747fcc7aeb8892b8e2f2ad2'; 			;; 		*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; 	esac; 	build=; 	if [ -z "$url" ]; then 		build=1; 		url='https://dl.google.com/go/go1.17.3.src.tar.gz'; 		sha256='705c64251e5b25d5d55ede1039c6aa22bea40a7a931d14c370339853643c3df0'; 		echo >&2; 		echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; 		echo >&2; 	fi; 		wget -O go.tgz.asc "$url.asc"; 	wget -O go.tgz "$url" --progress=dot:giga; 	echo "$sha256 *go.tgz" | sha256sum -c -; 		GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; 	gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 'EB4C 1BFD 4F04 2F6D DDCC  EC91 7721 F63B D38B 4796'; 	gpg --batch --keyserver keyserver.ubuntu.com --recv-keys '2F52 8D36 D67B 69ED F998  D857 78BD 6547 3CB3 BD13'; 	gpg --batch --verify go.tgz.asc go.tgz; 	gpgconf --kill all; 	rm -rf "$GNUPGHOME" go.tgz.asc; 		tar -C /usr/local -xzf go.tgz; 	rm go.tgz; 		if [ -n "$build" ]; then 		savedAptMark="$(apt-mark showmanual)"; 		apt-get update; 		apt-get install -y --no-install-recommends golang-go; 				( 			cd /usr/local/go/src; 			export GOROOT_BOOTSTRAP="$(go env GOROOT)" GOHOSTOS="$GOOS" GOHOSTARCH="$GOARCH"; 			./make.bash; 		); 				apt-mark auto '.*' > /dev/null; 		apt-mark manual $savedAptMark > /dev/null; 		apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; 		rm -rf /var/lib/apt/lists/*; 				go install std; 				rm -rf 			/usr/local/go/pkg/*/cmd 			/usr/local/go/pkg/bootstrap 			/usr/local/go/pkg/obj 			/usr/local/go/pkg/tool/*/api 			/usr/local/go/pkg/tool/*/go_bootstrap 			/usr/local/go/src/cmd/dist/dist 		; 	fi; 		go version
                        
# 2021-12-03 18:59:17  0.00B 
/bin/sh -c #(nop)  ENV GOLANG_VERSION=1.17.3
                        
# 2021-12-03 18:59:17  0.00B 
/bin/sh -c #(nop)  ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2021-12-03 18:59:16  182.02MB 
/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/*
                        
# 2021-12-02 11:42:05  145.54MB 
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends 		git 		mercurial 		openssh-client 		subversion 				procps 	&& rm -rf /var/lib/apt/lists/*
                        
# 2021-12-02 11:41:45  17.54MB 
/bin/sh -c set -ex; 	if ! command -v gpg > /dev/null; then 		apt-get update; 		apt-get install -y --no-install-recommends 			gnupg 			dirmngr 		; 		rm -rf /var/lib/apt/lists/*; 	fi
                        
# 2021-12-02 11:41:39  16.51MB 
/bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		ca-certificates 		curl 		netbase 		wget 	; 	rm -rf /var/lib/apt/lists/*
                        
# 2021-12-02 10:48:32  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2021-12-02 10:48:31  114.11MB 
/bin/sh -c #(nop) ADD file:f077e1a42fb919be2af67820782ceee3b46ffd13d7ab6949bea9921217d12813 in / 
                        
                    

镜像信息

{
    "Id": "sha256:08f6df476f804a5160564b7727699b278c8cd356bb81ce50bfb5b61cd87f8b6a",
    "RepoTags": [
        "golang:1.17.3-buster",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.17.3-buster"
    ],
    "RepoDigests": [
        "golang@sha256:ee3a388a872237ddb600de3ab9512e73df0043f8878f0f355baeb5b723ef16ec",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang@sha256:2336f810c1cc5c8edea98c691485b02dc4deddef0c240dfc45441428ed60f37e"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-12-03T10:59:35.905749571Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.7",
    "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.17.3",
            "GOPATH=/go"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "sha256:d7b1ecb4e73d110d8423c40cc4612a7331e5469339ed2b0fa2032e1dee3209ca",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 883512057,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/3927354d1cbef5563aa2203d0162f575f8bb28b981c4f8622b1babee692a0d1c/diff:/var/lib/docker/overlay2/2821f9ff46391d737f853b60abb7348a1912b13c5480a4a00e12f6bd9485c06a/diff:/var/lib/docker/overlay2/06a76e8d997abe8d3ab49f677ad024a1c7d0a304e23a161dc9124814e7f2b507/diff:/var/lib/docker/overlay2/a8286113aa299390822dec36e3434b7a74f019835286f4fc50c95c080a552857/diff:/var/lib/docker/overlay2/656cb500a314797fb5f8e5667befcdb4ebc0d22a8f44f8926738a48d5fb44778/diff:/var/lib/docker/overlay2/08dd2fe5dbffbd54a67a7135b8ca8081ee42bd002b20299e66afe9e73fecffc6/diff",
            "MergedDir": "/var/lib/docker/overlay2/366e8a58a9c054118bf7afa15ced6d025fb60c53e489b5a09a70afe33fd0e89e/merged",
            "UpperDir": "/var/lib/docker/overlay2/366e8a58a9c054118bf7afa15ced6d025fb60c53e489b5a09a70afe33fd0e89e/diff",
            "WorkDir": "/var/lib/docker/overlay2/366e8a58a9c054118bf7afa15ced6d025fb60c53e489b5a09a70afe33fd0e89e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:2c7e7ab2260a4a82502119b16f69d58fbcb7b561435a8a86013226505809d550",
            "sha256:9ad2165feb02fd06d821b226cb355e273212828aee584b993c39821f0bc18629",
            "sha256:92903c3857f85b06421ff81dd13eaf62b1e1e77760bbf8c449ec495b2c1c739e",
            "sha256:66b1d61820c31adfae4726836f6658b5a4eeb0279a6178a6203613f1bf98a93d",
            "sha256:62b1aa447bfaf20d47be992b63e2f4526a98a885c32999c48f87c43bb24b9c62",
            "sha256:2d559a095afd60aa5def4778d6a2847692fd75c5f89c743a3739c1f4cd7342e8",
            "sha256:1758bcc347c9476eee1b6d9fa7daeb0a50ef154552995574122c04f56cfc63ee"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-27T14:24:38.773789072+08:00"
    }
}

更多版本

docker.io/golang:1.22.4-bookworm

linux/amd64 docker.io822.31MB2024-06-11 18:25
394

docker.io/golang:1.22.4-alpine3.20

linux/amd64 docker.io230.56MB2024-06-11 18:27
1114

docker.io/golang:alpine

linux/amd64 docker.io230.61MB2024-07-16 11:03
800

docker.io/golang:1.21-alpine

linux/amd64 docker.io222.19MB2024-09-02 17:07
379

docker.io/golang:1.20.2

linux/amd64 docker.io777.74MB2024-09-13 17:45
348

docker.io/golang:1.21

linux/amd64 docker.io813.93MB2024-09-19 03:04
302

docker.io/golang:1.11

linux/amd64 docker.io796.46MB2024-09-30 11:40
214

docker.io/golang:1.22.5-alpine

linux/amd64 docker.io230.60MB2024-10-12 15:35
171

docker.io/golang:1.23.2-bullseye

linux/amd64 docker.io769.42MB2024-10-17 14:19
202

docker.io/golang:1.23-alpine

linux/amd64 docker.io245.47MB2024-11-01 10:50
296

docker.io/golang:1-alpine

linux/amd64 docker.io245.52MB2024-11-09 12:50
75

docker.io/golang:1.23.1

linux/amd64 docker.io837.65MB2024-11-21 17:33
99

docker.io/golang:1.18.10-buster

linux/amd64 docker.io907.61MB2024-12-03 11:26
63

docker.io/golang:1.13.15

linux/amd64 docker.io803.42MB2024-12-03 11:29
47

docker.io/golang:1.10.8-stretch

linux/amd64 docker.io760.04MB2024-12-03 11:34
49

docker.io/golang:1.17.13-buster

linux/amd64 docker.io884.21MB2024-12-03 11:39
61

docker.io/golang:1.22.10

linux/amd64 docker.io822.20MB2024-12-04 17:46
73

docker.io/golang:1.22.10

linux/arm64 docker.io829.65MB2024-12-04 17:49
71

docker.io/golang:1.21-alpine

linux/arm64 docker.io221.60MB2024-12-05 10:08
62

docker.io/golang:1.14.2

linux/amd64 docker.io809.39MB2024-12-17 10:48
45

docker.io/golang:1.14

linux/amd64 docker.io810.62MB2024-12-17 10:52
49

docker.io/golang:1.21.3-bookworm

linux/amd64 docker.io814.58MB2024-12-17 18:12
50

docker.io/golang:1.22-alpine

linux/amd64 docker.io230.71MB2024-12-18 11:21
58

docker.io/golang:1.17.3-buster

linux/amd64 docker.io883.51MB2024-12-27 14:25
45

docker.io/golang:alpine3.21

linux/amd64 docker.io245.60MB2024-12-27 16:35
51

docker.io/golang:1.22.5-bullseye

linux/amd64 docker.io754.34MB2025-01-15 15:24
16