registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0 linux/amd64

registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0 - 国内下载镜像源 浏览次数:19 安全受验证的发布者-Kubernetes

该镜像是由 registry.k8s.io 提供的 build-image/kube-cross 镜像,用于构建跨平台的 Docker 容器。

源镜像 registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0
镜像ID sha256:1690031943742209837096219ddf065c34ad941cfc11539f21a3b541b05a32a5
镜像TAG v1.28.0-go1.22.8-bullseye.0
大小 5.69GB
镜像源 registry.k8s.io
CMD
启动入口
工作目录 /go
OS/平台 linux/amd64
浏览量 19 次
贡献者
镜像创建 2024-10-15T09:37:05.096862791Z
同步时间 2024-11-14 16:40
更新时间 2024-11-21 12:39
环境变量
PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOLANG_VERSION=1.22.8 GOTOOLCHAIN=local GOPATH=/go GOARM=7 KUBE_DYNAMIC_CROSSPLATFORMS=arm64 armhf i386 ppc64el s390x KUBE_CROSSPLATFORMS=linux/386 linux/arm linux/arm64 linux/ppc64le linux/s390x darwin/amd64 windows/amd64 windows/386 PROTOBUF_VERSION=23.4 TMPDIR=/tmp.k8s
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 11.11 扫描引擎: Trivy 扫描时间: 2024-11-14 16:41

低危漏洞:735 中危漏洞:973 高危漏洞:272 严重漏洞:10

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0  registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0  registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0

Shell快速替换命令

sed -i 's#registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0  registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0  registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0'

镜像历史

大小 创建时间 层信息
0.00B 2024-10-15 17:37:05 ENTRYPOINT []
1.05MB 2024-10-15 17:37:05 RUN |2 TARGETPLATFORM=linux/amd64 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt-get -qqy remove wget && apt-get clean && rm -rf -- /var/lib/apt/lists/* # buildkit
222.60MB 2024-10-15 17:37:02 RUN |2 TARGETPLATFORM=linux/amd64 DEBIAN_FRONTEND=noninteractive /bin/sh -c for i in {1..5}; do GOPROXY="direct" go install golang.org/x/tools/cmd/cover@latest && break || sleep 15; done && for i in {1..5}; do GOPROXY="direct" go install golang.org/x/tools/cmd/goimports@latest && break || sleep 15; done && go clean -cache # buildkit
0.00B 2024-10-15 17:36:13 RUN |2 TARGETPLATFORM=linux/amd64 DEBIAN_FRONTEND=noninteractive /bin/sh -c mkdir $TMPDIR && chmod a+rwx $TMPDIR && chmod o+t $TMPDIR # buildkit
0.00B 2024-10-15 17:36:13 ENV TMPDIR=/tmp.k8s
8.25MB 2024-10-15 17:36:13 RUN |2 TARGETPLATFORM=linux/amd64 DEBIAN_FRONTEND=noninteractive /bin/sh -c targetArch=$(echo $TARGETPLATFORM | cut -f2 -d '/') && if [ ${targetArch} = "amd64" ]; then ZIPNAME="protoc-${PROTOBUF_VERSION}-linux-x86_64.zip"; elif [ ${targetArch} = "arm64" ]; then ZIPNAME="protoc-${PROTOBUF_VERSION}-linux-aarch_64.zip"; elif [ ${targetArch} = "ppc64le" ]; then ZIPNAME="protoc-${PROTOBUF_VERSION}-linux-ppcle_64.zip"; elif [ ${targetArch} = "s390x" ]; then ZIPNAME="protoc-${PROTOBUF_VERSION}-linux-s390_64.zip"; fi && mkdir /tmp/protoc && cd /tmp/protoc && wget "https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOBUF_VERSION}/${ZIPNAME}" && unzip "${ZIPNAME}" && chmod -R +rX /tmp/protoc && cp -pr bin /usr/local && cp -pr include /usr/local && rm -rf /tmp/protoc && protoc --version # buildkit
0.00B 2024-10-15 17:36:13 ENV PROTOBUF_VERSION=23.4
0.00B 2024-10-15 17:36:13 RUN |2 TARGETPLATFORM=linux/amd64 DEBIAN_FRONTEND=noninteractive /bin/sh -c targetArch=$(echo $TARGETPLATFORM | cut -f2 -d '/') && if [ ${targetArch} = "ppc64le" ] || [ ${targetArch} = "s390x" ]; then echo "deb http://ports.ubuntu.com/ubuntu-ports/ xenial main" > /etc/apt/sources.list.d/ports.list && apt-key adv --no-tty --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5 3B4FE6ACC0B21F32 && apt-get update && apt-get install -y build-essential; fi # buildkit
0.00B 2024-10-15 17:36:13 RUN |2 TARGETPLATFORM=linux/amd64 DEBIAN_FRONTEND=noninteractive /bin/sh -c targetArch=$(echo $TARGETPLATFORM | cut -f2 -d '/') && if [ ${targetArch} = "arm64" ]; then echo "deb http://ports.ubuntu.com/ubuntu-ports/ xenial main" > /etc/apt/sources.list.d/ports.list && apt-key adv --no-tty --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5 3B4FE6ACC0B21F32 && apt-get update && apt-get install -y build-essential gcc-x86-64-linux-gnu; fi # buildkit
4.67GB 2024-10-15 17:36:12 RUN |2 TARGETPLATFORM=linux/amd64 DEBIAN_FRONTEND=noninteractive /bin/sh -c targetArch=$(echo $TARGETPLATFORM | cut -f2 -d '/') && if [ ${targetArch} = "amd64" ]; then echo "deb http://archive.ubuntu.com/ubuntu xenial main universe" > /etc/apt/sources.list.d/cgocrosscompiling.list && apt-key adv --no-tty --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5 3B4FE6ACC0B21F32 && apt-get update && apt-get install -y build-essential mingw-w64 && for platform in ${KUBE_DYNAMIC_CROSSPLATFORMS}; do apt-get install -y crossbuild-essential-${platform}; done fi # buildkit
35.51MB 2024-10-15 17:33:09 RUN |2 TARGETPLATFORM=linux/amd64 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt-get -q update && apt-get install -qqy apt-utils file jq patch rsync unzip iproute2 # buildkit
232.00B 2024-10-15 17:33:04 RUN |2 TARGETPLATFORM=linux/amd64 DEBIAN_FRONTEND=noninteractive /bin/sh -c targetArch=$(echo $TARGETPLATFORM | cut -f2 -d '/') && if [ ${targetArch} = "amd64" ]; then for platform in ${KUBE_CROSSPLATFORMS}; do GOOS=${platform%/*} GOARCH=${platform##*/} go install std; done && go clean -cache; fi # buildkit
0.00B 2024-10-15 17:33:04 ENV KUBE_CROSSPLATFORMS=linux/386 linux/arm linux/arm64 linux/ppc64le linux/s390x darwin/amd64 windows/amd64 windows/386
0.00B 2024-10-15 17:33:04 ENV KUBE_DYNAMIC_CROSSPLATFORMS=arm64 armhf i386 ppc64el s390x
0.00B 2024-10-15 17:33:04 ENV GOARM=7
0.00B 2024-10-15 17:33:04 ARG DEBIAN_FRONTEND=noninteractive
0.00B 2024-10-15 17:33:04 ARG TARGETPLATFORM=linux/amd64
0.00B 2024-10-02 01:39:47 WORKDIR /go
0.00B 2024-10-02 01:39:47 RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit
222.33MB 2024-10-02 01:39:47 COPY /target/ / # buildkit
0.00B 2024-10-02 01:39:47 ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-10-02 01:39:47 ENV GOPATH=/go
0.00B 2024-10-02 01:39:47 ENV GOTOOLCHAIN=local
0.00B 2024-10-02 01:39:47 ENV GOLANG_VERSION=1.22.8
227.20MB 2024-10-02 01:39:47 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
152.18MB 2024-09-27 13:09:44 /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/*
28.61MB 2024-09-27 13:09:25 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase wget ; rm -rf /var/lib/apt/lists/*
0.00B 2024-09-27 12:29:43 /bin/sh -c #(nop) CMD ["bash"]
124.27MB 2024-09-27 12:29:42 /bin/sh -c #(nop) ADD file:52a4b3d3a7281812594cb25cd6c6e83649d63a981e9f92f7c189ebe080249490 in /

镜像信息

{
    "Id": "sha256:1690031943742209837096219ddf065c34ad941cfc11539f21a3b541b05a32a5",
    "RepoTags": [
        "registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0"
    ],
    "RepoDigests": [
        "registry.k8s.io/build-image/kube-cross@sha256:5ede83719fd9262d201df6609fcfe08100764554519d3666d4129fc89c8290b5",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/kube-cross@sha256:06e56a69efd63f6ecc44bc535bf3b1fc516cf93f33b8853ce0ae9cabd3ed2f67"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-15T09:37:05.096862791Z",
    "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.22.8",
            "GOTOOLCHAIN=local",
            "GOPATH=/go",
            "GOARM=7",
            "KUBE_DYNAMIC_CROSSPLATFORMS=arm64   armhf   i386   ppc64el   s390x",
            "KUBE_CROSSPLATFORMS=linux/386   linux/arm linux/arm64   linux/ppc64le   linux/s390x   darwin/amd64   windows/amd64 windows/386",
            "PROTOBUF_VERSION=23.4",
            "TMPDIR=/tmp.k8s"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 5689325893,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/da975260702fc0dbaaa10311edfca2c180dd59ca413e9e3f8796b7c1b9dc1bcd/diff:/var/lib/docker/overlay2/80012c5ebcb61c3907d692cd776336a1d9edfd90c3fd86745e61dc10a369d049/diff:/var/lib/docker/overlay2/df9fd03c310c8ff28fbe322ab95450ec29b5f7d192d3621d26f444de2adc1591/diff:/var/lib/docker/overlay2/78fcbc17e6dc1f072f006c4c665523a75289683c7a0830dbbec691ccaec22658/diff:/var/lib/docker/overlay2/cfe5e7b6a0b1d7c15d188bde41a8de161315b19363852ffc493a7b9279f89820/diff:/var/lib/docker/overlay2/e295107d5684d278652888e25271fa4241fad4af610ebab6eaca5ee95f0ebc53/diff:/var/lib/docker/overlay2/8adc15ba9258d115077a660d78fcf1f2cb7d21daa9494a676e1c28e602db0f7f/diff:/var/lib/docker/overlay2/26971a751c59ca4d0c0398c3ad33f8d8dd3b0c90edc9a24aa54d740bda34894e/diff:/var/lib/docker/overlay2/d50b09eed604654c2303f48cd6fd5ac0b7219385541c6f234c8c6dfdc5ad3369/diff:/var/lib/docker/overlay2/95efb176d9ebf64564c02504c1166c66467070c903de9c9b4d75274e62ffb617/diff:/var/lib/docker/overlay2/3432394e695129ff6a9bca624f73b0fcaecec4e5b905d72f6a11a4bd8b543475/diff:/var/lib/docker/overlay2/03ef596db254fa8105499964f0ad65df4f076ed4bba2b53e4d0530fcf2cca280/diff:/var/lib/docker/overlay2/b060d0d94c78249a89c2141d13e804bcad8143c64e28b71473705a6465d440a4/diff:/var/lib/docker/overlay2/ddd29f4df6a295c9b757a0a7d93ce143492f0ba603a8fbc7948d45446fb76372/diff:/var/lib/docker/overlay2/46639947be4e4e44cfcd65b7f40599f23e4dbfa4037388cd87370c29fb4aefd5/diff",
            "MergedDir": "/var/lib/docker/overlay2/c47499157ba51131e96bf4ffbc03fb3cc4f88aa593432b6887deef4e0ad5fba0/merged",
            "UpperDir": "/var/lib/docker/overlay2/c47499157ba51131e96bf4ffbc03fb3cc4f88aa593432b6887deef4e0ad5fba0/diff",
            "WorkDir": "/var/lib/docker/overlay2/c47499157ba51131e96bf4ffbc03fb3cc4f88aa593432b6887deef4e0ad5fba0/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:315317d32d9b3cadda3f89b1c2c172b6973b6fe080b131bf8d25252036d8d0f5",
            "sha256:c79ad3cc3bfa8ae6d12b81b2ea69baea53b256436fe27ca6d65afe998683be93",
            "sha256:28284e7d72336b720ce14fa7be29fb6c1625e90bb2846775a54ad4dd57151fba",
            "sha256:96a8445fc2924312bf3f1cdee14f3caff1a36a709be811122c79d17d580d88f0",
            "sha256:06347fbf8d6d7996d178e0ce750f07411b3772e6f8a33ac87d3e773b3bc48c11",
            "sha256:5332a13c422bb93bf16f51861fd96bcbcee8654af5d04b339c575df8f7328241",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:92399a811fe8d753b42dd791b795d1764143d3f9dbd2463b98ec6466c98fc5dd",
            "sha256:df60dc7797adc27295c1ddb746c3037cc9059d529558f952968ce3640e4258dd",
            "sha256:db4daec613e6c855382f9db1a624c10811c314cc61e5a789f3dcc7b0e64fb2e5",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:3f7d681c4d66c784a334f207cd04f9c874a171e89c82bf2c744f97faa21b4179",
            "sha256:c7a66b046021ce5a40e2ede61487fdb3c9dc96ba7876cc9ca0fc8d37e6ceb1c2",
            "sha256:1edd9d3eb8b35b355e1ce24fd0d7002e470b716840a977d47745a98af5296a8e",
            "sha256:6fab755ca22d0ab685b10ed9b449750c5e509f670d3dde0540d1bc9b21a9a579"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-14T16:35:09.309890034+08:00"
    }
}

更多版本

registry.k8s.io/build-image/kube-cross:v1.30.0-go1.22.5-bullseye.0

linux/amd64 registry.k8s.io5.68GB2024-08-01 10:49
193

registry.k8s.io/build-image/kube-cross:v1.24.0-go1.20.7-bullseye.0

linux/amd64 registry.k8s.io5.68GB2024-11-07 15:19
28

registry.k8s.io/build-image/kube-cross:v1.28.0-go1.22.8-bullseye.0

linux/amd64 registry.k8s.io5.69GB2024-11-14 16:40
18