docker.io/library/golang:1.23.4 linux/amd64

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

Go语言官方镜像

源镜像 docker.io/library/golang:1.23.4
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.23.4
镜像ID sha256:1983e5a25166e38fd5cdd05e7c43abe3764ed1e2dd27746667d3e7fc0e4fb07f
镜像TAG 1.23.4
大小 837.09MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录 /go
OS/平台 linux/amd64
浏览量 77 次
贡献者
镜像创建 2024-12-03T19:01:46Z
同步时间 2024-12-16 16:31
更新时间 2025-01-17 16:58
环境变量
PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOLANG_VERSION=1.23.4 GOTOOLCHAIN=local GOPATH=/go
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.8 扫描引擎: Trivy 扫描时间: 2024-12-16 16:33

低危漏洞:270 中危漏洞:395 高危漏洞:70 严重漏洞:2

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-12-04 03:01:46  0.00B 设置工作目录为/go
WORKDIR /go
                        
# 2024-12-04 03:01:46  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit
                        
# 2024-12-04 03:01:46  237.22MB 复制新文件或目录到容器中
COPY /target/ / # buildkit
                        
# 2024-12-04 03:01:46  0.00B 设置环境变量 PATH
ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-12-04 03:01:46  0.00B 设置环境变量 GOPATH
ENV GOPATH=/go
                        
# 2024-12-04 03:01:46  0.00B 设置环境变量 GOTOOLCHAIN
ENV GOTOOLCHAIN=local
                        
# 2024-12-04 03:01:46  0.00B 设置环境变量 GOLANG_VERSION
ENV GOLANG_VERSION=1.23.4
                        
# 2024-12-04 03:01:46  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  47.70MB 执行命令并创建新的镜像层
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  116.56MB 
# debian.sh --arch 'amd64' out/ 'bookworm' '@1733097600'
                        
                    

镜像信息

{
    "Id": "sha256:1983e5a25166e38fd5cdd05e7c43abe3764ed1e2dd27746667d3e7fc0e4fb07f",
    "RepoTags": [
        "golang:1.23.4",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.23.4"
    ],
    "RepoDigests": [
        "golang@sha256:70031844b8c225351d0bb63e2c383f80db85d92ba894e3da7e13bcf80efa9a37",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang@sha256:34fb8af63917d26c8ff19f77739f81b2c684ded04f13cab0fbd6b9e3df96368a"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-12-03T19:01:46Z",
    "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.4",
            "GOTOOLCHAIN=local",
            "GOPATH=/go"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 837086670,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/78d09e5b8168f58c4b39f0a33e1af0b70c81327b9abfc5d70280facc1b490374/diff:/var/lib/docker/overlay2/30289f416f2a1a3b8317fca44b5c7d117cac630cadf4cc034f0568453d482d90/diff:/var/lib/docker/overlay2/160a8bb80b10c10500b0adffb84bd9dd6d414c1e47282998164893e371e2b204/diff:/var/lib/docker/overlay2/3c497550f241980c8330e58338830f0e69c53d68c22429244b417776a7343365/diff:/var/lib/docker/overlay2/db3575a4656fe882350442ad4c79814a36b078e21fcb59e0e89c94e980a87ac8/diff:/var/lib/docker/overlay2/f58f48b18795ac43b9dea77e5ea6526fad0d185e519af2d46b80846c13c22553/diff",
            "MergedDir": "/var/lib/docker/overlay2/5f55a00b4ba9714f51efe3c3045904ee593238285d687f7bf5bba8c7fd864bc7/merged",
            "UpperDir": "/var/lib/docker/overlay2/5f55a00b4ba9714f51efe3c3045904ee593238285d687f7bf5bba8c7fd864bc7/diff",
            "WorkDir": "/var/lib/docker/overlay2/5f55a00b4ba9714f51efe3c3045904ee593238285d687f7bf5bba8c7fd864bc7/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:301c1bb42cc0bc6618fcaf036e8711f2aad66f76697f541e2014a69e1f456aa4",
            "sha256:0e82d78b3ea1b1db9fa3e1f18d6745e0c2380c25f2c7cec420257084e9cc44fe",
            "sha256:c81d4fdb67fcfd8ffbfe9f93f440264d36a2d9e7c4e79b9ae5152c5ed2e3fd36",
            "sha256:7435b7bda520ab4654f2ea4f545d4354e82082a8622725012869a5af1ec469b5",
            "sha256:f3fe8ef9af879b859f179a878b5c79a4a9e7b0e0643eaf2bd89002dc96c55a75",
            "sha256:c192d6af1c4de39922d979c0a9bf8ee7903622b6cbbb4e07e58494d5d549cd9f",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-16T16:31:27.014732485+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
216

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
104

docker.io/library/golang:1.23.4

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

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
37

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
21