docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest linux/amd64

docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest - 国内下载镜像源 浏览次数:51

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

这是一个基于 Red Hat Universal Base Image 9 (UBI9) 的 Docker 镜像,专门用于构建 Rust 应用程序。它由 oci.stackable.tech 提供,sdp 是其项目或团队的标识符。该镜像预装了 Rust 编译器和其他必要的构建工具,方便开发者快速搭建 Rust 开发环境并构建项目。

源镜像 docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest
镜像ID sha256:669757d4c97c69d45cf17a8e80a220b78a0096d0ec14992062d4cc6687d3fbf0
镜像TAG latest
大小 2.16GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/bash
启动入口
工作目录 /
OS/平台 linux/amd64
浏览量 51 次
贡献者
镜像创建 2025-04-17T04:40:31.830771415Z
同步时间 2025-04-18 09:40
更新时间 2025-06-19 02:13
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin container=oci RUST_DEFAULT_TOOLCHAIN_VERSION=1.85.0 CARGO_CYCLONEDX_CRATE_VERSION=0.5.7 CARGO_AUDITABLE_CRATE_VERSION=0.6.6 PROTOC_VERSION=27.3 PROTOC=/opt/protoc/bin/protoc
镜像标签
x86_64: architecture 2024-09-18T21:23:26: build-date ubi9-minimal-container: com.redhat.component https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI: com.redhat.license_terms The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.: description public: distribution-scope 1.29.0: io.buildah.version The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.: io.k8s.description Red Hat Universal Base Image 9 Minimal: io.k8s.display-name : io.openshift.expose-services minimal rhel9: io.openshift.tags Stackable GmbH: maintainer ubi9-minimal: name 1227.1726694542: release Provides the latest release of the minimal Red Hat Universal Base Image 9.: summary https://access.redhat.com/containers/#/registry.access.redhat.com/ubi9-minimal/images/9.4-1227.1726694542: url 94baa7760359088a42ad33dc22d329a5ee2c7209: vcs-ref git: vcs-type Red Hat, Inc.: vendor 9.4: version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest  docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest  docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest

Shell快速替换命令

sed -i 's#oci.stackable.tech/sdp/ubi9-rust-builder:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest  docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest  docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest'

镜像构建历史


# 2025-04-17 12:40:31  260.00B 复制新文件或目录到容器中
COPY shared/copy_artifacts.sh / # buildkit
                        
# 2025-04-17 12:40:31  0.00B 执行命令并创建新的镜像层
RUN /bin/bash -euo pipefail -c mkdir /app # buildkit
                        
# 2025-04-17 12:40:31  1.23GB 执行命令并创建新的镜像层
RUN /bin/bash -euo pipefail -c curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain "$RUST_DEFAULT_TOOLCHAIN_VERSION"
. "$HOME/.cargo/env"
cargo install --quiet --locked "cargo-cyclonedx@$CARGO_CYCLONEDX_CRATE_VERSION" "cargo-auditable@$CARGO_AUDITABLE_CRATE_VERSION"
 # buildkit
                        
# 2025-04-17 12:38:56  0.00B 设置工作目录为/
WORKDIR /
                        
# 2025-04-17 12:38:56  0.00B 设置环境变量 PROTOC
ENV PROTOC=/opt/protoc/bin/protoc
                        
# 2025-04-17 12:38:56  9.53MB 执行命令并创建新的镜像层
RUN /bin/bash -euo pipefail -c ARCH=$(arch | sed 's/^aarch64$/aarch_64/')   && curl --fail --location --output protoc.zip "https://repo.stackable.tech/repository/packages/protoc/protoc-${PROTOC_VERSION}-linux-${ARCH}.zip"   && unzip protoc.zip   && rm protoc.zip # buildkit
                        
# 2025-04-17 12:38:54  0.00B 设置工作目录为/opt/protoc
WORKDIR /opt/protoc
                        
# 2025-04-17 12:38:54  813.28MB 执行命令并创建新的镜像层
RUN /bin/bash -euo pipefail -c microdnf update   && microdnf install     clang     cmake     curl-minimal     findutils     gcc     gcc-c++     krb5-devel     krb5-libs     libkadm5     make     openssl-devel     pkg-config     systemd-devel     unzip   && microdnf clean all   && rm -rf /var/cache/yum # buildkit
                        
# 2025-04-17 12:38:39  46.00B 复制新文件或目录到容器中
COPY stackable-base/stackable/dnf.conf /etc/dnf/dnf.conf # buildkit
                        
# 2025-04-17 12:38:39  0.00B 
SHELL [/bin/bash -euo pipefail -c]
                        
# 2025-04-17 12:38:39  0.00B 设置环境变量 PROTOC_VERSION
ENV PROTOC_VERSION=27.3
                        
# 2025-04-17 12:38:39  0.00B 设置环境变量 CARGO_AUDITABLE_CRATE_VERSION
ENV CARGO_AUDITABLE_CRATE_VERSION=0.6.6
                        
# 2025-04-17 12:38:39  0.00B 设置环境变量 CARGO_CYCLONEDX_CRATE_VERSION
ENV CARGO_CYCLONEDX_CRATE_VERSION=0.5.7
                        
# 2025-04-17 12:38:39  0.00B 设置环境变量 RUST_DEFAULT_TOOLCHAIN_VERSION
ENV RUST_DEFAULT_TOOLCHAIN_VERSION=1.85.0
                        
# 2025-04-17 12:38:39  0.00B 添加元数据标签
LABEL maintainer=Stackable GmbH
                        
# 2024-09-19 05:29:46  99.20MB 
/bin/sh -c mv -fZ /tmp/ubi.repo /etc/yum.repos.d/ubi.repo || :
                        
# 2024-09-19 05:29:45  0.00B 
/bin/sh -c rm -f /tmp/tls-ca-bundle.pem
                        
# 2024-09-19 05:29:44  0.00B 
/bin/sh -c rm -f '/etc/yum.repos.d/odcs-3496922-3d51b.repo' '/etc/yum.repos.d/rhel-9.4-compose-34ae9.repo'
                        
# 2024-09-19 05:29:43  0.00B 
/bin/sh -c #(nop) LABEL "release"="1227.1726694542" "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2024-09-18T21:23:26" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="94baa7760359088a42ad33dc22d329a5ee2c7209" "io.k8s.description"="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." "url"="https://access.redhat.com/containers/#/registry.access.redhat.com/ubi9-minimal/images/9.4-1227.1726694542"
                        
# 2024-09-19 05:29:43  0.00B 
/bin/sh -c #(nop) ADD file:3763314761ee75f4c50d08cca38184a1368ca6d78d98ed9b3df4d4a28ce9a60f in /root/buildinfo/Dockerfile-ubi9-minimal-9.4-1227.1726694542 
                        
# 2024-09-19 05:29:43  0.00B 
/bin/sh -c #(nop) ADD file:b61dc232d84be84b398c4a9d319ce263c1e698a1f3e41122b4989b26ae411742 in /root/buildinfo/content_manifests/ubi9-minimal-container-9.4-1227.1726694542.json 
                        
# 2024-09-19 05:29:43  0.00B 
/bin/sh -c rm -rf /var/log/*
                        
# 2024-09-19 05:29:42  0.00B 
/bin/sh -c #(nop) CMD ["/bin/bash"]
                        
# 2024-09-19 05:29:42  0.00B 
/bin/sh -c #(nop) ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-09-19 05:29:42  0.00B 
/bin/sh -c #(nop) ENV container oci
                        
# 2024-09-19 05:29:42  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.tags="minimal rhel9"
                        
# 2024-09-19 05:29:42  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2024-09-19 05:29:42  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9 Minimal"
                        
# 2024-09-19 05:29:42  0.00B 
/bin/sh -c #(nop) LABEL description="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
                        
# 2024-09-19 05:29:42  0.00B 
/bin/sh -c #(nop) LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 9."
                        
# 2024-09-19 05:29:42  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
                        
# 2024-09-19 05:29:42  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-minimal-container"       name="ubi9-minimal"       version="9.4"
                        
# 2024-09-19 05:29:42  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
                        
# 2024-09-19 05:29:42  0.00B 
/bin/sh -c #(nop) ADD multi:d851b7f6b461892ebd008971ee8858113becab621ea011cd6ca3834693892de0 in /etc/yum.repos.d/ 
                        
# 2024-09-19 05:29:42  0.00B 
/bin/sh -c #(nop) ADD file:5b1f650e1376d79fa3a65df4a154ea5166def95154b52c1c1097dfd8fc7d58eb in /tmp/tls-ca-bundle.pem 
                        
# 2024-09-19 05:29:42  0.00B 
/bin/sh -c mv -f /etc/yum.repos.d/ubi.repo /tmp || :
                        
# 2024-09-19 05:29:41  0.00B 
/bin/sh -c #(nop) ADD file:f7962bcea8426558f5511299e708fc6b7f7c85bd2c87cf668f4ad792bf3679df in / 
                        
                    

镜像信息

{
    "Id": "sha256:669757d4c97c69d45cf17a8e80a220b78a0096d0ec14992062d4cc6687d3fbf0",
    "RepoTags": [
        "oci.stackable.tech/sdp/ubi9-rust-builder:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest"
    ],
    "RepoDigests": [
        "oci.stackable.tech/sdp/ubi9-rust-builder@sha256:efb89291f5bf2f544646568690dd5314828e37c63f08f0c53769c0e9400f3c2d",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/oci.stackable.tech/sdp/ubi9-rust-builder@sha256:f84520dacab400b9fd562c2cbd37fa1015505aad9c9048e31b2fcc40f3ac89ef"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-04-17T04:40:31.830771415Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "container=oci",
            "RUST_DEFAULT_TOOLCHAIN_VERSION=1.85.0",
            "CARGO_CYCLONEDX_CRATE_VERSION=0.5.7",
            "CARGO_AUDITABLE_CRATE_VERSION=0.6.6",
            "PROTOC_VERSION=27.3",
            "PROTOC=/opt/protoc/bin/protoc"
        ],
        "Cmd": [
            "/bin/bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": null,
        "OnBuild": [
            "WORKDIR /src",
            "COPY . /src",
            "RUN \u003c\u003cEOF\n. \"$HOME/.cargo/env\"\ncargo auditable --quiet build --release --workspace\ncargo cyclonedx --all --spec-version 1.5 --describe binaries\n\n# -maxdepth 1: The interesting binaries are all directly in ${BUILD_DIR}.\n# -regex filters out tests\n# - exec copies matching files to /app\nfind /src/target/release \\\n  -regextype egrep \\\n  -maxdepth 1 \\\n  -executable \\\n  -type f \\\n  ! -regex \".*\\-[a-fA-F0-9]{16,16}$\" \\\n  -exec /copy_artifacts.sh {} \\;\n\necho \"The following files will be copied to the runtime image: $(ls /app)\"\nEOF"
        ],
        "Labels": {
            "architecture": "x86_64",
            "build-date": "2024-09-18T21:23:26",
            "com.redhat.component": "ubi9-minimal-container",
            "com.redhat.license_terms": "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI",
            "description": "The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.",
            "distribution-scope": "public",
            "io.buildah.version": "1.29.0",
            "io.k8s.description": "The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.",
            "io.k8s.display-name": "Red Hat Universal Base Image 9 Minimal",
            "io.openshift.expose-services": "",
            "io.openshift.tags": "minimal rhel9",
            "maintainer": "Stackable GmbH",
            "name": "ubi9-minimal",
            "release": "1227.1726694542",
            "summary": "Provides the latest release of the minimal Red Hat Universal Base Image 9.",
            "url": "https://access.redhat.com/containers/#/registry.access.redhat.com/ubi9-minimal/images/9.4-1227.1726694542",
            "vcs-ref": "94baa7760359088a42ad33dc22d329a5ee2c7209",
            "vcs-type": "git",
            "vendor": "Red Hat, Inc.",
            "version": "9.4"
        },
        "Shell": [
            "/bin/bash",
            "-euo",
            "pipefail",
            "-c"
        ]
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 2155196114,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/81b685f3e37f7472364fd451ab2b160996e22c6eb7c5a0819d37d5d1eb051160/diff:/var/lib/docker/overlay2/2676463934bfd6bf9b9f9013a7130804ca9f56b3e24fe2c5fe22c26a1fc45e54/diff:/var/lib/docker/overlay2/a1c860cd684321ad202dfa9f7abd74dbf53aedf4f9fe62ad5f8a5f81c552473a/diff:/var/lib/docker/overlay2/43d7ae7bf83562287490679c327d217169f8758a09fd2b329fce9bb3b673559f/diff:/var/lib/docker/overlay2/ed6248e7d27a13e84de8b5cf45d03e382de7b2dc3c8840f0229f1e7865c35857/diff:/var/lib/docker/overlay2/93ea82db573166fe921dfcf1bedc928deb7361be05fcc68e272e921b2c841aa0/diff:/var/lib/docker/overlay2/653e5e62e858946e7bf462837e5ee308ade3bbe17b779dbc151e4cd4363c84ac/diff",
            "MergedDir": "/var/lib/docker/overlay2/95904c7c7ae29cee6ca6f6e84f78c541f89d8d65c9f9fbd19d8501f3d96fd1cf/merged",
            "UpperDir": "/var/lib/docker/overlay2/95904c7c7ae29cee6ca6f6e84f78c541f89d8d65c9f9fbd19d8501f3d96fd1cf/diff",
            "WorkDir": "/var/lib/docker/overlay2/95904c7c7ae29cee6ca6f6e84f78c541f89d8d65c9f9fbd19d8501f3d96fd1cf/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:f72362c98463bf060742f99c00c98289030cc7ab433ff61d58dd67e6a4a5c001",
            "sha256:6eba21dd83f08742ad86c24069c96d06a06660059aa600f24177781a607f1c42",
            "sha256:298ea4dc556807fe3feb904eaa461e10bedaa489e6cb01855965fbf97c1efc23",
            "sha256:bdb3c5095f2d76e36c7a32a57fedc19420a7bd080d6be48d9d9e771c9f63412c",
            "sha256:c3d02250389f33a16a249f2c948eff4be01daa117b551120b1a7a3b6cbe0144b",
            "sha256:31d5b9c24a58b2a59d1c72f0a13a2fbd1019d8fa9265475cb08d325ed899edb3",
            "sha256:bedcec0dcb19559a6999257c0f1c5b2110d9c967d94204a8e12f236340dadd18",
            "sha256:38c9f6fac0d164b9751b4bf6380a8a99c5ea986930f534ceacc86a9ee2c51f30"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-04-18T09:38:54.578253941+08:00"
    }
}

更多版本

docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest

linux/amd64 docker.io2.16GB2025-04-18 09:40
50

docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest

linux/arm64 docker.io2.41GB2025-04-18 09:47
60