ℹ️
注意:这是一个 latest 标签镜像

latest 并不代表最新版本,本站同步时间存在延迟,无法保证此镜像与上游最新版本一致
生产环境建议使用明确的版本号(如 v1.2.3),避免因版本不一致导致问题。 了解更多 →

logo
docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest
linux/arm64 docker.io 请确认架构匹配

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

305
浏览次数
2.41GB
镜像大小
源镜像
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-linuxarm64
镜像ID
sha256:ddeb4dab33c48b4e20e799754ff4e5b81b5a9efe368455c2cd7354e0d831ea36
镜像 TAG
latest-linuxarm64
镜像大小
2.41GB
平台架构
linux/arm64
镜像源
docker.io
CMD
/bin/bash
启动入口
工作目录
/
OS/平台
linux/arm64
镜像创建
2025-04-17T04:40:57.32613276Z
同步时间
2025-04-18 09:47
浏览量
305 次
贡献者
⚙️ 环境变量 7
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
container=oci 1
RUST_DEFAULT_TOOLCHAIN_VERSION=1.85.0 2
CARGO_CYCLONEDX_CRATE_VERSION=0.5.7 3
CARGO_AUDITABLE_CRATE_VERSION=0.6.6 4
PROTOC_VERSION=27.3 5
PROTOC=/opt/protoc/bin/protoc 6
🏷️ 镜像标签 20
KeyValue
aarch64 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-linuxarm64
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest-linuxarm64  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-linuxarm64
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest-linuxarm64  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-linuxarm64#' 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-linuxarm64 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest-linuxarm64  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-linuxarm64 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest-linuxarm64  docker.io/oci.stackable.tech/sdp/ubi9-rust-builder:latest'

镜像构建历史


# 2025-04-17 12:40:57  260.00B 复制新文件或目录到容器中
COPY shared/copy_artifacts.sh / # buildkit
                        
# 2025-04-17 12:40:57  0.00B 执行命令并创建新的镜像层
RUN /bin/bash -euo pipefail -c mkdir /app # buildkit
                        
# 2025-04-17 12:40:57  1.51GB 执行命令并创建新的镜像层
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:39:14  0.00B 设置工作目录为/
WORKDIR /
                        
# 2025-04-17 12:39:14  0.00B 设置环境变量 PROTOC
ENV PROTOC=/opt/protoc/bin/protoc
                        
# 2025-04-17 12:39:14  9.54MB 执行命令并创建新的镜像层
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:39:13  0.00B 设置工作目录为/opt/protoc
WORKDIR /opt/protoc
                        
# 2025-04-17 12:39:13  786.69MB 执行命令并创建新的镜像层
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:56  46.00B 复制新文件或目录到容器中
COPY stackable-base/stackable/dnf.conf /etc/dnf/dnf.conf # buildkit
                        
# 2025-04-17 12:38:56  0.00B 
SHELL [/bin/bash -euo pipefail -c]
                        
# 2025-04-17 12:38:56  0.00B 设置环境变量 PROTOC_VERSION
ENV PROTOC_VERSION=27.3
                        
# 2025-04-17 12:38:56  0.00B 设置环境变量 CARGO_AUDITABLE_CRATE_VERSION
ENV CARGO_AUDITABLE_CRATE_VERSION=0.6.6
                        
# 2025-04-17 12:38:56  0.00B 设置环境变量 CARGO_CYCLONEDX_CRATE_VERSION
ENV CARGO_CYCLONEDX_CRATE_VERSION=0.5.7
                        
# 2025-04-17 12:38:56  0.00B 设置环境变量 RUST_DEFAULT_TOOLCHAIN_VERSION
ENV RUST_DEFAULT_TOOLCHAIN_VERSION=1.85.0
                        
# 2025-04-17 12:38:56  0.00B 添加元数据标签
LABEL maintainer=Stackable GmbH
                        
# 2024-09-19 05:29:48  103.33MB 
/bin/sh -c mv -fZ /tmp/ubi.repo /etc/yum.repos.d/ubi.repo || :
                        
# 2024-09-19 05:29:47  0.00B 
/bin/sh -c rm -f /tmp/tls-ca-bundle.pem
                        
# 2024-09-19 05:29:46  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:45  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"="aarch64" "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:45  0.00B 
/bin/sh -c #(nop) ADD file:7d839fd792e21cdd37858c3a5300c195beb3df94eded547fbd1508ef81f3a0ce in /root/buildinfo/Dockerfile-ubi9-minimal-9.4-1227.1726694542 
                        
# 2024-09-19 05:29:45  0.00B 
/bin/sh -c #(nop) ADD file:1b5dd590117e3105bf4bc7bf3d14e32e15284033314e5016a8b6a569d1309f13 in /root/buildinfo/content_manifests/ubi9-minimal-container-9.4-1227.1726694542.json 
                        
# 2024-09-19 05:29:45  0.00B 
/bin/sh -c rm -rf /var/log/*
                        
# 2024-09-19 05:29:44  0.00B 
/bin/sh -c #(nop) CMD ["/bin/bash"]
                        
# 2024-09-19 05:29:44  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:44  0.00B 
/bin/sh -c #(nop) ENV container oci
                        
# 2024-09-19 05:29:44  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.tags="minimal rhel9"
                        
# 2024-09-19 05:29:44  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2024-09-19 05:29:44  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9 Minimal"
                        
# 2024-09-19 05:29:44  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:44  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:44  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:44  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-minimal-container"       name="ubi9-minimal"       version="9.4"
                        
# 2024-09-19 05:29:44  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
                        
# 2024-09-19 05:29:44  0.00B 
/bin/sh -c #(nop) ADD multi:d851b7f6b461892ebd008971ee8858113becab621ea011cd6ca3834693892de0 in /etc/yum.repos.d/ 
                        
# 2024-09-19 05:29:43  0.00B 
/bin/sh -c #(nop) ADD file:5b1f650e1376d79fa3a65df4a154ea5166def95154b52c1c1097dfd8fc7d58eb in /tmp/tls-ca-bundle.pem 
                        
# 2024-09-19 05:29:43  0.00B 
/bin/sh -c mv -f /etc/yum.repos.d/ubi.repo /tmp || :
                        
# 2024-09-19 05:29:42  0.00B 
/bin/sh -c #(nop) ADD file:b8ad50f3d6859f84ef1f5a65e6525025d882089a4bfbfe1c1a6dcec413b08335 in / 
                        
                    

镜像信息

{
    "Id": "sha256:ddeb4dab33c48b4e20e799754ff4e5b81b5a9efe368455c2cd7354e0d831ea36",
    "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-linuxarm64"
    ],
    "RepoDigests": [
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/oci.stackable.tech/sdp/ubi9-rust-builder@sha256:7adef212d2aa506f4fbfa15d58caf306230078314697e763d872cb69d167b9e3"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-04-17T04:40:57.32613276Z",
    "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": "aarch64",
            "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": "arm64",
    "Os": "linux",
    "Size": 2411998559,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/2e47343a4f27e074c54619657e317bcf3610090f7bcb68df53b71f94f5b461b8/diff:/var/lib/docker/overlay2/d97c32044d0f0591ea12df22fc5dd75b0f63b739c5415b96e6409d01977bd95a/diff:/var/lib/docker/overlay2/f7044d7bcb10d8a5344242885de2e32c4fc2377afb2615ade3ca2ab8a4e688f2/diff:/var/lib/docker/overlay2/0dea3606531d6855764bb2e185c7153417d2983686c96bcbabe90b94baf57bcb/diff:/var/lib/docker/overlay2/2fc7d16c2551452444a17bcdb2eeb2aabc9b7c53dc7c02f06435e73e69893cc9/diff:/var/lib/docker/overlay2/f57af787dff690c9efbce495d288debbe33f79b8b9c6f7888269962b4c1dd14e/diff:/var/lib/docker/overlay2/fbe1404861d9f72a0d218569f861fc19e749f3253071bbeeeac108b937b2584b/diff",
            "MergedDir": "/var/lib/docker/overlay2/ee014e6e3dec8d6b674615de0c58f45bb3d8366915b422649ccd2b9ea871d05f/merged",
            "UpperDir": "/var/lib/docker/overlay2/ee014e6e3dec8d6b674615de0c58f45bb3d8366915b422649ccd2b9ea871d05f/diff",
            "WorkDir": "/var/lib/docker/overlay2/ee014e6e3dec8d6b674615de0c58f45bb3d8366915b422649ccd2b9ea871d05f/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:ed05fb1cf6c9347364816af98bbc4567dcf0abf8c12a56560dc068e738e3ddf2",
            "sha256:6219e53ba057178d7e0e4be330a0243c7e741b0f60674762d7afaeff1d8f3005",
            "sha256:044f807d266ffd6974909c9f92ca7d703196eaba1b7052ef968c7aba5487f019",
            "sha256:e04737606660d993038576bc21c11d9fcceca6f15b459806f33ccb60156865a4",
            "sha256:3262704053fe8f396010d8e816518d9252fe3e4299b9322ba2f7b1969dbfe222",
            "sha256:cbb3a34fdd523a1d179fe6882755282c8c9adc0094d8d25466d7aabdfc376fc2",
            "sha256:6362fddeef0cd9c0dc4376781c892d821705ddc90a37f4ab8044e7dba4ce2424",
            "sha256:dd11361422b82ae2c04a10260f7ae6dc92c21cfbfdd10d2a647c223cdc5b991d"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-04-18T09:45:44.722113107+08:00"
    }
}

更多版本

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

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

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

linux/arm64 docker.io2.41GB2025-04-18 09:47
304
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×