docker.io/library/golang:1.23.4-alpine3.20 linux/amd64

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

Go语言官方镜像

源镜像 docker.io/library/golang:1.23.4-alpine3.20
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.23.4-alpine3.20
镜像ID sha256:bed2b335ca59cd7eb2c5b0f34cf36e87e4122a5e1984b4669a125579b017f5fd
镜像TAG 1.23.4-alpine3.20
大小 245.54MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/sh
启动入口
工作目录 /go
OS/平台 linux/amd64
浏览量 105 次
贡献者 ad**n@boychai.xyz
镜像创建 2024-12-03T19:01:46Z
同步时间 2024-12-05 16:30
更新时间 2025-01-17 19:07
环境变量
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: alpine 3.20.3 扫描引擎: Trivy 扫描时间: 2024-12-05 16:32

低危漏洞:2 中危漏洞:0 高危漏洞:0 严重漏洞:0

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

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

Containerd拉取命令

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

Shell快速替换命令

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

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-alpine3.20 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.23.4-alpine3.20  docker.io/library/golang:1.23.4-alpine3.20'

镜像构建历史


# 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  527.97KB 执行命令并创建新的镜像层
RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit
                        
# 2024-09-06 20:05:36  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2024-09-06 20:05:36  7.80MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.20.3-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:bed2b335ca59cd7eb2c5b0f34cf36e87e4122a5e1984b4669a125579b017f5fd",
    "RepoTags": [
        "golang:1.23.4-alpine3.20",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.23.4-alpine3.20"
    ],
    "RepoDigests": [
        "golang@sha256:9a31ef0803e6afdf564edc8ba4b4e17caed22a0b1ecd2c55e3c8fdd8d8f68f98",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang@sha256:a471e1d65cda2048c8eab0a31aa38d88ea0956b1925e811f6482a62f8c94bd75"
    ],
    "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": [
            "/bin/sh"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 245544213,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/8fbd85f98e12b9aa9c2f4a00deb3ab7a862667863f931b9effb989c8ad440548/diff:/var/lib/docker/overlay2/a18958327b837b7973f23b4a3963658e837f7c92670572e550d9eca11e4c359a/diff:/var/lib/docker/overlay2/7a9e9886db601eb533ce4733cd1ee4597666285a0419de6309bd9db7f98ec4d4/diff:/var/lib/docker/overlay2/23c5724f3a35122d45237c48d0eec74bfb90f129834f1ecb674937c0af9f9db3/diff",
            "MergedDir": "/var/lib/docker/overlay2/182be650606ad5d75d184c9a4129de3f2aff96e95d6d6c1c5a922f21b9624973/merged",
            "UpperDir": "/var/lib/docker/overlay2/182be650606ad5d75d184c9a4129de3f2aff96e95d6d6c1c5a922f21b9624973/diff",
            "WorkDir": "/var/lib/docker/overlay2/182be650606ad5d75d184c9a4129de3f2aff96e95d6d6c1c5a922f21b9624973/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:75654b8eeebd3beae97271a102f57cdeb794cc91e442648544963a7e951e9558",
            "sha256:5938a8dd5a7e33a7fdcd588d922231afd6d23e29a71fbfeb76d041b79e34554d",
            "sha256:f3fe8ef9af879b859f179a878b5c79a4a9e7b0e0643eaf2bd89002dc96c55a75",
            "sha256:947968b0dcafc57053cbefe8e787b82004e3b9198d8aee8d77331ae9c450a2d5",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-05T16:30:39.589387767+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
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
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