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

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

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

源镜像 registry.k8s.io/build-image/kube-cross:v1.24.0-go1.20.7-bullseye.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/kube-cross:v1.24.0-go1.20.7-bullseye.0
镜像ID sha256:24180dbce9b81b94024232c493d23ec3adc6e1169a643bca741c61db6d7e6d61
镜像TAG v1.24.0-go1.20.7-bullseye.0
大小 5.68GB
镜像源 registry.k8s.io
CMD
启动入口
工作目录 /go
OS/平台 linux/amd64
浏览量 29 次
贡献者 19*******1@qq.com
镜像创建 2023-08-04T13:06:49.199497825Z
同步时间 2024-11-07 15:19
更新时间 2024-11-21 14:40
环境变量
PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOLANG_VERSION=1.20.7 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.7 扫描引擎: Trivy 扫描时间: 2024-11-07 15:19

低危漏洞:768 中危漏洞:1973 高危漏洞:539 严重漏洞:45

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

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#registry.k8s.io/build-image/kube-cross:v1.24.0-go1.20.7-bullseye.0#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/kube-cross:v1.24.0-go1.20.7-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.24.0-go1.20.7-bullseye.0 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/kube-cross:v1.24.0-go1.20.7-bullseye.0  registry.k8s.io/build-image/kube-cross:v1.24.0-go1.20.7-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.24.0-go1.20.7-bullseye.0 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/kube-cross:v1.24.0-go1.20.7-bullseye.0  registry.k8s.io/build-image/kube-cross:v1.24.0-go1.20.7-bullseye.0'

镜像历史

大小 创建时间 层信息
0.00B 2023-08-04 21:06:49 ENTRYPOINT []
1.05MB 2023-08-04 21:06:49 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
187.07MB 2023-08-04 21:06:47 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 2023-08-04 21:06:09 RUN |2 TARGETPLATFORM=linux/amd64 DEBIAN_FRONTEND=noninteractive /bin/sh -c mkdir $TMPDIR && chmod a+rwx $TMPDIR && chmod o+t $TMPDIR # buildkit
0.00B 2023-08-04 21:06:08 ENV TMPDIR=/tmp.k8s
8.25MB 2023-08-04 21:06:08 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 2023-08-04 21:06:08 ENV PROTOBUF_VERSION=23.4
0.00B 2023-08-04 21:06:08 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 2023-08-04 21:06:08 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 2023-08-04 21:06:08 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.41MB 2023-08-04 21:03:20 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 2023-08-04 21:03:15 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 2023-08-04 21:03:15 ENV KUBE_CROSSPLATFORMS=linux/386 linux/arm linux/arm64 linux/ppc64le linux/s390x darwin/amd64 windows/amd64 windows/386
0.00B 2023-08-04 21:03:15 ENV KUBE_DYNAMIC_CROSSPLATFORMS=arm64 armhf i386 ppc64el s390x
0.00B 2023-08-04 21:03:15 ENV GOARM=7
0.00B 2023-08-04 21:03:15 ARG DEBIAN_FRONTEND=noninteractive
0.00B 2023-08-04 21:03:15 ARG TARGETPLATFORM
0.00B 2023-08-02 05:29:26 /bin/sh -c #(nop) WORKDIR /go
0.00B 2023-08-02 05:29:26 /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH"
0.00B 2023-08-02 05:29:25 /bin/sh -c #(nop) ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2023-08-02 05:29:25 /bin/sh -c #(nop) ENV GOPATH=/go
244.38MB 2023-08-02 05:29:24 /bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; url=; case "$arch" in 'amd64') url='https://dl.google.com/go/go1.20.7.linux-amd64.tar.gz'; sha256='f0a87f1bcae91c4b69f8dc2bc6d7e6bfcd7524fceec130af525058c0c17b1b44'; ;; 'armel') export GOARCH='arm' GOARM='5' GOOS='linux'; ;; 'armhf') url='https://dl.google.com/go/go1.20.7.linux-armv6l.tar.gz'; sha256='7cc231b415b94f2f7065870a73f67dd2b0ec12b5a98052b7ee0121c42bc04f8d'; ;; 'arm64') url='https://dl.google.com/go/go1.20.7.linux-arm64.tar.gz'; sha256='44781ae3b153c3b07651d93b6bc554e835a36e2d72a696281c1e4dad9efffe43'; ;; 'i386') url='https://dl.google.com/go/go1.20.7.linux-386.tar.gz'; sha256='ddb48145f05bda2f4617a22c979d4e94b22802cdb1a1fde1b1974e733b26f091'; ;; 'mips64el') export GOARCH='mips64le' GOOS='linux'; ;; 'ppc64el') url='https://dl.google.com/go/go1.20.7.linux-ppc64le.tar.gz'; sha256='6318a1db307c12b8afe68808bd6fae4fba1e558a85b958216096869ed506dcb3'; ;; 'riscv64') export GOARCH='riscv64' GOOS='linux'; ;; 's390x') url='https://dl.google.com/go/go1.20.7.linux-s390x.tar.gz'; sha256='26aea2ede8722ceecbd9db883328a8d963136fd96c11dacc356c44c4c19c6515'; ;; *) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; esac; build=; if [ -z "$url" ]; then build=1; url='https://dl.google.com/go/go1.20.7.src.tar.gz'; sha256='2c5ee9c9ec1e733b0dbbc2bdfed3f62306e51d8172bf38f4f4e542b27520f597'; echo >&2; echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; echo >&2; fi; wget -O go.tgz.asc "$url.asc"; wget -O go.tgz "$url" --progress=dot:giga; echo "$sha256 *go.tgz" | sha256sum -c -; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 'EB4C 1BFD 4F04 2F6D DDCC EC91 7721 F63B D38B 4796'; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys '2F52 8D36 D67B 69ED F998 D857 78BD 6547 3CB3 BD13'; 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 [ -n "$build" ]; then savedAptMark="$(apt-mark showmanual)"; ( . /etc/os-release; echo "deb https://deb.debian.org/debian $VERSION_CODENAME-backports main" > /etc/apt/sources.list.d/backports.list; apt-get update; apt-get install -y --no-install-recommends -t "$VERSION_CODENAME-backports" golang-go; ); export GOCACHE='/tmp/gocache'; ( cd /usr/local/go/src; export GOROOT_BOOTSTRAP="$(go env GOROOT)" GOHOSTOS="$GOOS" GOHOSTARCH="$GOARCH"; ./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/*; 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 "$GOCACHE" ; fi; go version
0.00B 2023-08-02 05:29:15 /bin/sh -c #(nop) ENV GOLANG_VERSION=1.20.7
0.00B 2023-07-29 04:33:46 /bin/sh -c #(nop) ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
227.89MB 2023-07-29 04:33:45 /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/*
151.98MB 2023-07-28 11:02:39 /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/*
28.60MB 2023-07-28 11:02:23 /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 2023-07-28 07:24:55 /bin/sh -c #(nop) CMD ["bash"]
124.15MB 2023-07-28 07:24:55 /bin/sh -c #(nop) ADD file:b493776b6d91132ce50735e2d82076620774a1e0a690cf96777ddd6b85f513ef in /

镜像信息

{
    "Id": "sha256:24180dbce9b81b94024232c493d23ec3adc6e1169a643bca741c61db6d7e6d61",
    "RepoTags": [
        "registry.k8s.io/build-image/kube-cross:v1.24.0-go1.20.7-bullseye.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/kube-cross:v1.24.0-go1.20.7-bullseye.0"
    ],
    "RepoDigests": [
        "registry.k8s.io/build-image/kube-cross@sha256:685a99803f3b0efb491faed8af0c3234f7c16d04d45321482dfd23f351bdb5eb",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/registry.k8s.io/build-image/kube-cross@sha256:c5a3b0444525fe5648e428f99b2ae390c9da7b51501343c66a92b14e27a0d795"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-08-04T13:06:49.199497825Z",
    "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.20.7",
            "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": 5676111314,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/6b093c4d6bcd1b2bb0e510e08daa93304a621225ab14ea3b20d23658fc47609c/diff:/var/lib/docker/overlay2/5a16f73afd2fce32d524458c8dcee9257b32292cd012e70932dc7bc4d19ec004/diff:/var/lib/docker/overlay2/70cee4e4a54b80b32d4f4bc8815c285b19f9191a5bb269679408dbb7af66ba86/diff:/var/lib/docker/overlay2/643721e32bccfb3881a2c7eb6b63eb5212a90c1e54ffa1cae039d31bf764a55a/diff:/var/lib/docker/overlay2/b96ef440610c62b71d80d8ad9cd1d33a62189abe0dd9bd07c09496e48f1d6916/diff:/var/lib/docker/overlay2/017b127df0a69e215bacae8e393ce03ca94da62c516fa13ed28747e42716b3ef/diff:/var/lib/docker/overlay2/f85404fe04f14ac47169c350ae673b897ab5b614707114868eb6d788d2f54a0b/diff:/var/lib/docker/overlay2/654e7e91be91bf7bac67bbe85104cf310d162a334a0e2158ffe8f74c53d70c6e/diff:/var/lib/docker/overlay2/173246bc7e12da947bae32433f1d6a9c1ddaf8abd7bb9162cfbf8463b7913515/diff:/var/lib/docker/overlay2/166a1f029fb3c1594de65a1585090b4a79b02a35f84f5f69751e67a94a4a58e0/diff:/var/lib/docker/overlay2/a1f576d02c14f09809ad9ed0a3847068bb862bfa8a7398ad63168430b6b8ebd5/diff:/var/lib/docker/overlay2/c922eb7490b1ad90d24e2029fc0005c8360eb5841616a4d344d0d785c2691221/diff:/var/lib/docker/overlay2/d0fe307a1f3fb157c134be3919a1d3ec2a98cdbd3a4bbfbc758f05d636556843/diff:/var/lib/docker/overlay2/558ad4d1d89d713f3d6b77765e13db23bcf73b36802533b6a20e3e4885f3a818/diff",
            "MergedDir": "/var/lib/docker/overlay2/03290dca7b847f6135c48907b72eb74d0875404fdf7e2efd72078ef3c7d6b4ec/merged",
            "UpperDir": "/var/lib/docker/overlay2/03290dca7b847f6135c48907b72eb74d0875404fdf7e2efd72078ef3c7d6b4ec/diff",
            "WorkDir": "/var/lib/docker/overlay2/03290dca7b847f6135c48907b72eb74d0875404fdf7e2efd72078ef3c7d6b4ec/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:f370a05d981b3c9d2cbc1253d381ad6a5b0338e2a4bc3f29e8bc888929cedca4",
            "sha256:4438bc41581aa425e50cdf77495d5298327a3d66c9d40ea94dffcde9afb1e244",
            "sha256:891fa86dfd1d010b3e7ae3c48c732e9461abbea46ea06e7f0f0736aaffca6dc4",
            "sha256:212604e4113b2b212707c56d69720bd5d47d2812fcc9f142d51947449b0a7231",
            "sha256:e4cc0a4ab13e4e28e3aebb92a94173f57dcb2263492cacd454278f6a26d26821",
            "sha256:d88a52f22d9edc208cb6be56d66edf1406d0cde3a326b572118734cb9e02e169",
            "sha256:fd8a047df86b37618a65e96e8915250a650b4d18e77147813ebb3f893cd443be",
            "sha256:7df12c1040583ca45329d35c30ca6002a0d5a0295295ddebf7db0d910ec2119e",
            "sha256:490b7c1f6adfc8f0af4632877ee846432eebbb335b484d7e20c90f8d2819a925",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:176ea3371676d7f2a64a562ccb736b9b87d9b63e20476e1a9e68211b755984f4",
            "sha256:037145ae146f678e3534ee7072bad6f50ca869be9a0c25c37bd04418278b526e",
            "sha256:09c9753ca0685d81d2b90ba9c45e28b8b2a3203022aee7643945b290b17b2b61",
            "sha256:91e72dd4fd82e26baca4fbc59de6dc62e4ec6cafbacb67bda4ea437b8b7d7258"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-07T15:14:20.458793248+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
19