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

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

系统OS: debian 10.12 扫描引擎: Trivy 扫描时间: 2024-12-03 11:41

低危漏洞:748 中危漏洞:2797 高危漏洞:1181 严重漏洞:109

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

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#golang:1.17.13-buster#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.17.13-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.13-buster && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.17.13-buster  docker.io/golang:1.17.13-buster'

Ansible快速分发-Containerd

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

镜像构建历史


# 2022-08-02 00:24:34  0.00B 
/bin/sh -c #(nop) WORKDIR /go
                        
# 2022-08-02 00:24:34  0.00B 
/bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
                        
# 2022-08-02 00:24:33  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
                        
# 2022-08-02 00:24:33  0.00B 
/bin/sh -c #(nop)  ENV GOPATH=/go
                        
# 2022-08-02 00:24:32  408.41MB 
/bin/sh -c set -eux; 	arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; 	url=; 	case "$arch" in 		'amd64') 			url='https://dl.google.com/go/go1.17.13.linux-amd64.tar.gz'; 			sha256='4cdd2bc664724dc7db94ad51b503512c5ae7220951cac568120f64f8e94399fc'; 			;; 		'armel') 			export GOARCH='arm' GOARM='5' GOOS='linux'; 			;; 		'armhf') 			url='https://dl.google.com/go/go1.17.13.linux-armv6l.tar.gz'; 			sha256='260431d7deeb8893c21e71fcbbb1fde3258616d8eba584c8d72060228ab42c86'; 			;; 		'arm64') 			url='https://dl.google.com/go/go1.17.13.linux-arm64.tar.gz'; 			sha256='914daad3f011cc2014dea799bb7490442677e4ad6de0b2ac3ded6cee7e3f493d'; 			;; 		'i386') 			url='https://dl.google.com/go/go1.17.13.linux-386.tar.gz'; 			sha256='5e02f35aecc6b89679f631e0edf12c49922dd31c8140cf8dd725c5797a9f2425'; 			;; 		'mips64el') 			export GOARCH='mips64le' GOOS='linux'; 			;; 		'ppc64el') 			url='https://dl.google.com/go/go1.17.13.linux-ppc64le.tar.gz'; 			sha256='bd0763fb130f8412672ffe1e4a8e65888ebe2419e5caa9a67ac21e8c298aa254'; 			;; 		's390x') 			url='https://dl.google.com/go/go1.17.13.linux-s390x.tar.gz'; 			sha256='08f6074e1e106cbe5d78622357db71a93648c7a4c4e4b02e3b5f2a1828914c76'; 			;; 		*) 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.13.src.tar.gz'; 		sha256='a1a48b23afb206f95e7bbaa9b898d965f90826f6f1d1fc0c1d784ada0cd300fd'; 		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; 				export GOCACHE='/tmp/gocache'; 				( 			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/*; 				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 			"$GOCACHE" 		; 	fi; 		go version
                        
# 2022-08-02 00:24:20  0.00B 
/bin/sh -c #(nop)  ENV GOLANG_VERSION=1.17.13
                        
# 2022-07-13 07:55:27  0.00B 
/bin/sh -c #(nop)  ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2022-07-13 07:55:26  182.07MB 
/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/*
                        
# 2022-07-12 10:49:47  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/*
                        
# 2022-07-12 10:49:29  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
                        
# 2022-07-12 10:49:24  16.55MB 
/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/*
                        
# 2022-07-12 09:20:21  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2022-07-12 09:20:20  114.11MB 
/bin/sh -c #(nop) ADD file:d738977543f4afc4c3040c6fca3e3f15388ec3b7263a29a6aa83f9a4bf05fed1 in / 
                        
                    

镜像信息

{
    "Id": "sha256:36c834315aca7d18b55fe6e6dd4ae391fcf6ea4a640e480ec938d9f29ad19230",
    "RepoTags": [
        "golang:1.17.13-buster",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.17.13-buster"
    ],
    "RepoDigests": [
        "golang@sha256:cf57fd6a33fee81c4a7450b2017bf862990e796316b30c22f03fd1f6b53ddcec",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang@sha256:84aa851c553c42887cd92f76901f8c514845d657d43606de672019051f677cb1"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-08-01T16:24:34.751172781Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.12",
    "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.13",
            "GOPATH=/go"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "sha256:8ee3758e591b8d9ea239bca28d66956a1f73831bd3c110d9479da781651b2d3a",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 884211265,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/1d01810e116bdc350fd27081dfd7b423e47c1b8faba5d7d2338d267ff8290856/diff:/var/lib/docker/overlay2/a493a8dc90d0ffbe9f67059c02be533633222d36c562f0977bf57e4eb27c5a34/diff:/var/lib/docker/overlay2/c5b2670e80fa6d95df286e877c847af4f42710121d911d3f4963cde1f771b339/diff:/var/lib/docker/overlay2/3992038a573c7e6c3db4e5efe710f038b5b729559989d5cbeec394ae904d1349/diff:/var/lib/docker/overlay2/4fce1f19f720c3d6ab3e04c3089d2b6794dfc133db5366834c102beaf3693bfd/diff:/var/lib/docker/overlay2/d79f16b9979b87bf8af7eab66669d4011300f6f75fb95e88b5393622f7e77fe5/diff",
            "MergedDir": "/var/lib/docker/overlay2/1d0d0a5861caf9d5303991e9ba71415e329712a17b363004f8efdb6b96d0388b/merged",
            "UpperDir": "/var/lib/docker/overlay2/1d0d0a5861caf9d5303991e9ba71415e329712a17b363004f8efdb6b96d0388b/diff",
            "WorkDir": "/var/lib/docker/overlay2/1d0d0a5861caf9d5303991e9ba71415e329712a17b363004f8efdb6b96d0388b/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:86eecfa8066ec2f3b68dbbc2a4b0f1cc4110cbbdf297021043dd947878dbf2a3",
            "sha256:9791176553792e1d82a0c1a27fd2a9e676cc3c4cbc5dea78f67cfea4dd4a59b6",
            "sha256:92a02f6117f5bf2913dafdbeda998919d30194af06639cadf52c845657499294",
            "sha256:4afd7e355699603f4e43405c807e8f4873908b0a4e9d91bd4d822bc47e80426d",
            "sha256:e94cc64657dd35c37eadb698b72baaf71bb41ddcb3aee3dfffb22811606038d0",
            "sha256:c4fad9df4ed621df1894b7857d17555e7d4c3248ff6da9aba5f2ab36ea52fc65",
            "sha256:8e84ef0f7eb8e75df799033c8dc6a2e76e3bc3b00315f12fa9d892512a8775cd"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-03T11:39:05.730724024+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
801

docker.io/golang:1.21-alpine

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

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
204

docker.io/golang:1.23-alpine

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

docker.io/golang:1-alpine

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

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
48

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
74

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
46

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
51

docker.io/golang:1.22-alpine

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

docker.io/golang:1.17.3-buster

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

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
17