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

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

Go语言官方镜像

源镜像 docker.io/library/golang:1.23.4-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.23.4-alpine
镜像ID sha256:8b942bd2d3be3bdde1cc7e0f92601d3e896468f7ef7f3292c2bb254408efc019
镜像TAG 1.23.4-alpine
大小 245.55MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/sh
启动入口
工作目录 /go
OS/平台 linux/amd64
浏览量 38 次
贡献者
镜像创建 2024-12-05T13:15:10Z
同步时间 2025-01-07 17:35
更新时间 2025-01-17 20:43
环境变量
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.21.1 扫描引擎: Trivy 扫描时间: 2025-01-07 17:35

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

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

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

Containerd拉取命令

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

Shell快速替换命令

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

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

镜像构建历史


# 2024-12-05 21:15:10  0.00B 设置工作目录为/go
WORKDIR /go
                        
# 2024-12-05 21:15:10  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit
                        
# 2024-12-05 21:15:10  237.22MB 复制新文件或目录到容器中
COPY /target/ / # buildkit
                        
# 2024-12-05 21:15:10  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-05 21:15:10  0.00B 设置环境变量 GOPATH
ENV GOPATH=/go
                        
# 2024-12-05 21:15:10  0.00B 设置环境变量 GOTOOLCHAIN
ENV GOTOOLCHAIN=local
                        
# 2024-12-05 21:15:10  0.00B 设置环境变量 GOLANG_VERSION
ENV GOLANG_VERSION=1.23.4
                        
# 2024-12-05 21:15:10  506.27KB 执行命令并创建新的镜像层
RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit
                        
# 2024-12-05 21:15:10  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2024-12-05 21:15:10  7.82MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.21.1-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:8b942bd2d3be3bdde1cc7e0f92601d3e896468f7ef7f3292c2bb254408efc019",
    "RepoTags": [
        "golang:1.23.4-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.23.4-alpine"
    ],
    "RepoDigests": [
        "golang@sha256:13aaa4b92fd4dc81683816b4b62041442e9f685deeb848897ce78c5e2fb03af7",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang@sha256:1dd8509832ab634602df7e9a48b3b8cf8472dafe40724154711fbef505c25133"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-12-05T13:15:10Z",
    "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"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 245546237,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/b3c902b67bd8d9cdb3717ed58d5d290271382822f7b0ddf62c4f44f37d4a3493/diff:/var/lib/docker/overlay2/d0b3d18a42bcdb6f65989c3aaea971164d80760b42383bad67258424f32ae761/diff:/var/lib/docker/overlay2/36be85c545d250b49f638d7b13a7b1ab0983caf2e6e85572c6e582bb99cfa1ed/diff:/var/lib/docker/overlay2/e8a98a00b9ecd6b48068d198be4e4a12c09e722f2f8d9d2465f87c26c33e836d/diff",
            "MergedDir": "/var/lib/docker/overlay2/0ccd16a4ee0d3817eecc0a3ab7e646d8190241ede8ae4578cf5f4486667aa02e/merged",
            "UpperDir": "/var/lib/docker/overlay2/0ccd16a4ee0d3817eecc0a3ab7e646d8190241ede8ae4578cf5f4486667aa02e/diff",
            "WorkDir": "/var/lib/docker/overlay2/0ccd16a4ee0d3817eecc0a3ab7e646d8190241ede8ae4578cf5f4486667aa02e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:6a0022046697eaf2aca84b29a6c0ae52e19797e6b4cc56c880d7a1ecf597d692",
            "sha256:5df717c1c430b3b7ee4cfc632d92e10e0e1e6656127a92e751df3e9af013e073",
            "sha256:f3fe8ef9af879b859f179a878b5c79a4a9e7b0e0643eaf2bd89002dc96c55a75",
            "sha256:df3fa0038d1e30416a55be54064c1bf4f6c864f94824b907ce1c57504a081815",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-07T17:35:07.930795457+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