docker.io/golang:1.14 linux/amd64

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

系统OS: debian 10.8 扫描引擎: Trivy 扫描时间: 2024-12-17 10:53

低危漏洞:802 中危漏洞:3323 高危漏洞:1823 严重漏洞:149

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2021-02-10 11:47:10  0.00B 
/bin/sh -c #(nop) WORKDIR /go
                        
# 2021-02-10 11:47:10  0.00B 
/bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
                        
# 2021-02-10 11:47:09  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-02-10 11:47:09  0.00B 
/bin/sh -c #(nop)  ENV GOPATH=/go
                        
# 2021-02-10 11:47:09  334.99MB 
/bin/sh -c set -eux; 		dpkgArch="$(dpkg --print-architecture)"; 	case "${dpkgArch##*-}" in 		'amd64') 			arch='linux-amd64'; 			url='https://storage.googleapis.com/golang/go1.14.15.linux-amd64.tar.gz'; 			sha256='c64a57b374a81f7cf1408d2c410a28c6f142414f1ffa9d1062de1d653b0ae0d6'; 			;; 		'armhf') 			arch='linux-armv6l'; 			url='https://storage.googleapis.com/golang/go1.14.15.linux-armv6l.tar.gz'; 			sha256='a63960d9b9c14954e299ffe060c0574ffb91ab810837da5941853b664d0652da'; 			;; 		'arm64') 			arch='linux-arm64'; 			url='https://storage.googleapis.com/golang/go1.14.15.linux-arm64.tar.gz'; 			sha256='4d964166a189c22032521c63935437c304bb7f01673b196898cff525897a1c27'; 			;; 		'i386') 			arch='linux-386'; 			url='https://storage.googleapis.com/golang/go1.14.15.linux-386.tar.gz'; 			sha256='cab962eaf954378bbb5b24f703baf3b471e9690a109082dd688593fbb6f9008e'; 			;; 		'ppc64el') 			arch='linux-ppc64le'; 			url='https://storage.googleapis.com/golang/go1.14.15.linux-ppc64le.tar.gz'; 			sha256='64d82004270bcd00948dbed9f1a123ef844ceb7633e6a87a5ca7ef8bdf59cfc1'; 			;; 		's390x') 			arch='linux-s390x'; 			url='https://storage.googleapis.com/golang/go1.14.15.linux-s390x.tar.gz'; 			sha256='8e121c947ec531628d37ad0292623f22c8f9fecac6067192b5cce34b36cedd79'; 			;; 		*) 			arch='src'; 			url='https://storage.googleapis.com/golang/go1.14.15.src.tar.gz'; 			sha256='7ed13b2209e54a451835997f78035530b331c5b6943cdcd68a3d815fdc009149'; 			echo >&2; 			echo >&2 "warning: current architecture ($dpkgArch) does not have a corresponding Go binary release; will be building from source"; 			echo >&2; 			;; 	esac; 		wget -O go.tgz.asc "$url.asc" --progress=dot:giga; 	wget -O go.tgz "$url" --progress=dot:giga; 	echo "$sha256 *go.tgz" | sha256sum --strict --check -; 		export GNUPGHOME="$(mktemp -d)"; 	gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys 'EB4C 1BFD 4F04 2F6D DDCC EC91 7721 F63B D38B 4796'; 	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 [ "$arch" = 'src' ]; then 		savedAptMark="$(apt-mark showmanual)"; 		apt-get update; 		apt-get install -y --no-install-recommends golang-go; 				goEnv="$(go env | sed -rn -e '/^GO(OS|ARCH|ARM|386)=/s//export \0/p')"; 		eval "$goEnv"; 		[ -n "$GOOS" ]; 		[ -n "$GOARCH" ]; 		( 			cd /usr/local/go/src; 			./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-02-10 11:46:56  0.00B 
/bin/sh -c #(nop)  ENV GOLANG_VERSION=1.14.15
                        
# 2021-02-10 11:46:00  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-02-10 11:46:00  181.96MB 
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends 		g++ 		gcc 		libc6-dev 		make 		pkg-config 	&& rm -rf /var/lib/apt/lists/*
                        
# 2021-02-09 12:35:46  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-02-09 12:35:21  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-02-09 12:35:10  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-02-09 10:20:40  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2021-02-09 10:20:40  114.08MB 
/bin/sh -c #(nop) ADD file:8f75f11b2bd2d50e5912359ae750de06a7b49506df3756c19baf4cc63d900c4f in / 
                        
                    

镜像信息

{
    "Id": "sha256:21a5635903d69da3c3d928ed429e3610eecdf878cbd763aabf5db9693016ffbb",
    "RepoTags": [
        "golang:1.14",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.14"
    ],
    "RepoDigests": [
        "golang@sha256:1a7173b5b9a3af3e29a5837e0b2027e1c438fd1b83bbee8f221355087ad416d6",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang@sha256:6a39a02f74ffee82a169f2d836134236dc6f69e5946779da13deb3c7c6fedafd"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-02-10T03:47:10.880047454Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "19.03.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.14.15",
            "GOPATH=/go"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "sha256:16adaeb7b518357c97c955daac683cdd4f57adb7da2059708422dd3b70b1a79c",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 810617561,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/bcdac366d2552b6556a468cb3839cdf50f93213e75ffb0e36aacb0b05685dfbe/diff:/var/lib/docker/overlay2/fbb5a59b04af7641b9d4da687fbbc152ee1087fc7e649c73ae298a1e99d94720/diff:/var/lib/docker/overlay2/6936418cc8782131c2ebd805150b57d74b7694efc23dff97213e58a42bb46f53/diff:/var/lib/docker/overlay2/56a5bffdd090a1e1b8dfcc7194af572d0d84b8addad6eccc9dd8824fe526cd51/diff:/var/lib/docker/overlay2/24886006d9c19d6db078c4a8abc7680efd7e68d128f588c0819d1da3ae406303/diff:/var/lib/docker/overlay2/a98b653dd407cd25b581a7a3f085c8f5816b5a52400d1434ce1bc08432325cd9/diff",
            "MergedDir": "/var/lib/docker/overlay2/10edc04125793f6b59591db4f508a0d87381c831aedd7779cbf4de47ff2cbf10/merged",
            "UpperDir": "/var/lib/docker/overlay2/10edc04125793f6b59591db4f508a0d87381c831aedd7779cbf4de47ff2cbf10/diff",
            "WorkDir": "/var/lib/docker/overlay2/10edc04125793f6b59591db4f508a0d87381c831aedd7779cbf4de47ff2cbf10/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:7f03bfe4d6dc12155877f0d2e8b3429090bad1af7b005f75b7b3a874f386fd5a",
            "sha256:909e93c7174510acfb8f423fd685094540810e3288b99932ca2ab94d9fd99e1d",
            "sha256:4ef81dc52d996453d718fe990558f82275ee8c0270adbf36966743370692863d",
            "sha256:da654bc8bc80edf45dcec6dc7b2c71e1c283b1ffe49e81cd6289498ab9b58e5f",
            "sha256:041459108fb03f3fcd142d01185030730be6d981c692da3ca83a9d52493ee32e",
            "sha256:3eeebffacaf0e6f31441eafd59bd2abcfab01aeae220a9a97478cc00ada31c77",
            "sha256:660b50dfadeb413c9891fa1b3e5523555ebe0c917dd6ef441ab643760b6afefb"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-17T10:50:49.441082035+08:00"
    }
}

更多版本

docker.io/golang:1.22.4-bookworm

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

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
61

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
48

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