docker.io/lukemathwalker/cargo-chef:latest-rust-1.79 linux/amd64

docker.io/lukemathwalker/cargo-chef:latest-rust-1.79 - 国内下载镜像源 浏览次数:8

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

docker.io/lukemathwalker/cargo-chef 镜像

这是一个用于 Rust 项目的依赖管理工具 Cargo Chef 的 Docker 镜像。它提供了一个预配置的环境,允许您在 Docker 容器中运行 Cargo Chef,以帮助您管理 Rust 项目的依赖关系。

这个镜像包含了 Cargo Chef 的可执行文件,以及构建 Rust 项目所需的依赖项,例如 Rust 编译器和 Cargo 包管理器。您可以使用它来创建可重复的构建环境,并轻松地在不同的系统上构建您的 Rust 项目。

使用 Cargo Chef,您可以:

  • 自动生成依赖关系列表,以确保您的项目能够在不同的环境中正确构建。
  • 创建最小化的依赖关系树,以减少构建时间和镜像大小。
  • 管理依赖关系的版本,以避免冲突和错误。

这个 Docker 镜像可以帮助您简化 Rust 项目的依赖管理,并确保您的项目在任何环境中都能顺利构建。

源镜像 docker.io/lukemathwalker/cargo-chef:latest-rust-1.79
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lukemathwalker/cargo-chef:latest-rust-1.79
镜像ID sha256:3f1bcd5e01b7af7683202a2134fe4bffbc1f9e799e5cff39cd82c8cbdf4e328f
镜像TAG latest-rust-1.79
大小 1.43GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录
OS/平台 linux/amd64
浏览量 8 次
贡献者
镜像创建 2024-07-25T07:47:16.642163764Z
同步时间 2024-11-21 14:02
更新时间 2024-11-21 17:31
环境变量
PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUSTUP_HOME=/usr/local/rustup CARGO_HOME=/usr/local/cargo RUST_VERSION=1.79.0 CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
镜像标签
https://github.com/rust-lang/docker-rust: org.opencontainers.image.source
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.6 扫描引擎: Trivy 扫描时间: 2024-11-21 14:02

低危漏洞:556 中危漏洞:901 高危漏洞:270 严重漏洞:14

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lukemathwalker/cargo-chef:latest-rust-1.79
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lukemathwalker/cargo-chef:latest-rust-1.79  docker.io/lukemathwalker/cargo-chef:latest-rust-1.79

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lukemathwalker/cargo-chef:latest-rust-1.79
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lukemathwalker/cargo-chef:latest-rust-1.79  docker.io/lukemathwalker/cargo-chef:latest-rust-1.79

Shell快速替换命令

sed -i 's#lukemathwalker/cargo-chef:latest-rust-1.79#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lukemathwalker/cargo-chef:latest-rust-1.79#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lukemathwalker/cargo-chef:latest-rust-1.79 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lukemathwalker/cargo-chef:latest-rust-1.79  docker.io/lukemathwalker/cargo-chef:latest-rust-1.79'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lukemathwalker/cargo-chef:latest-rust-1.79 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lukemathwalker/cargo-chef:latest-rust-1.79  docker.io/lukemathwalker/cargo-chef:latest-rust-1.79'

镜像历史

大小 创建时间 层信息
5.48MB 2024-07-25 15:47:16 RUN |1 CHEF_TAG=0.1.67 /bin/sh -c ((cat /etc/os-release | grep ID | grep alpine) && apk add --no-cache musl-dev || true) && cargo install cargo-chef --locked --version $CHEF_TAG && rm -rf $CARGO_HOME/registry/ # buildkit
0.00B 2024-07-25 15:47:16 ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
0.00B 2024-07-25 15:47:16 ARG CHEF_TAG=0.1.67
495.38MB 2024-06-13 22:36:52 RUN /bin/sh -c set -eux; dpkgArch="$(dpkg --print-architecture)"; case "${dpkgArch##*-}" in amd64) rustArch='x86_64-unknown-linux-gnu'; rustupSha256='6aeece6993e902708983b209d04c0d1dbb14ebb405ddb87def578d41f920f56d' ;; armhf) rustArch='armv7-unknown-linux-gnueabihf'; rustupSha256='3c4114923305f1cd3b96ce3454e9e549ad4aa7c07c03aec73d1a785e98388bed' ;; arm64) rustArch='aarch64-unknown-linux-gnu'; rustupSha256='1cffbf51e63e634c746f741de50649bbbcbd9dbe1de363c9ecef64e278dba2b2' ;; i386) rustArch='i686-unknown-linux-gnu'; rustupSha256='0a6bed6e9f21192a51f83977716466895706059afb880500ff1d0e751ada5237' ;; ppc64el) rustArch='powerpc64le-unknown-linux-gnu'; rustupSha256='079430f58ad4da1d1f4f5f2f0bd321422373213246a93b3ddb53dad627f5aa38' ;; s390x) rustArch='s390x-unknown-linux-gnu'; rustupSha256='e7f89da453c8ce5771c28279d1a01d5e83541d420695c74ec81a7ec5d287c51c' ;; *) echo >&2 "unsupported architecture: ${dpkgArch}"; exit 1 ;; esac; url="https://static.rust-lang.org/rustup/archive/1.27.1/${rustArch}/rustup-init"; wget "$url"; echo "${rustupSha256} *rustup-init" | sha256sum -c -; chmod +x rustup-init; ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}; rm rustup-init; chmod -R a+w $RUSTUP_HOME $CARGO_HOME; rustup --version; cargo --version; rustc --version; # buildkit
0.00B 2024-06-13 22:36:52 ENV RUSTUP_HOME=/usr/local/rustup CARGO_HOME=/usr/local/cargo PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUST_VERSION=1.79.0
0.00B 2024-06-13 22:36:52 LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust
587.41MB 2024-06-13 22:36:52 /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 default-libmysqlclient-dev dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libglib2.0-dev libgmp-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmaxminddb-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch unzip xz-utils zlib1g-dev ; rm -rf /var/lib/apt/lists/*
176.69MB 2024-06-13 22:36:52 /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/*
48.44MB 2024-06-13 22:36:52 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/*
0.00B 2024-06-13 22:36:52 /bin/sh -c #(nop) CMD ["bash"]
116.51MB 2024-06-13 22:36:52 /bin/sh -c #(nop) ADD file:430cca9ad155514d8c818e860e66e2aeccfb6230874d4faf446a1d0c2fc1054f in /

镜像信息

{
    "Id": "sha256:3f1bcd5e01b7af7683202a2134fe4bffbc1f9e799e5cff39cd82c8cbdf4e328f",
    "RepoTags": [
        "lukemathwalker/cargo-chef:latest-rust-1.79",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lukemathwalker/cargo-chef:latest-rust-1.79"
    ],
    "RepoDigests": [
        "lukemathwalker/cargo-chef@sha256:d83573c0ca1097968349feccbcd3e176926ff05ef432efd496b58143645a1adb",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lukemathwalker/cargo-chef@sha256:dcbf1ee38af29a3677a2588faa71ef54045ca1bc1040dedda139a4198e3e0edb"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-07-25T07:47:16.642163764Z",
    "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/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "RUSTUP_HOME=/usr/local/rustup",
            "CARGO_HOME=/usr/local/cargo",
            "RUST_VERSION=1.79.0",
            "CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.source": "https://github.com/rust-lang/docker-rust"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1429915058,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/2a8a9b75e6e225f8835664be99fc75dc3f05c8f835c79a7faad18d94c7cd72a4/diff:/var/lib/docker/overlay2/2cf6a0a0533e192ed64dca5db58b57a2ed07d0740ca75da9f11802f33c13e1ce/diff:/var/lib/docker/overlay2/9d207591806b940c2c50352c6fb5b0d8dd2ab2925fda1738ccc187ece422ccd2/diff:/var/lib/docker/overlay2/0d5e1448fa9c209acfd68c57afe81e88f66001c80b6629f0c34ee5eb8133aff0/diff:/var/lib/docker/overlay2/4ecdcb3c0e7874e69f80953522ab5ab64f42f6015c001e81a8983f697fddef70/diff",
            "MergedDir": "/var/lib/docker/overlay2/1b356c2511a7c95f96777986a6fcc46940522560586a698b4c370092e8562887/merged",
            "UpperDir": "/var/lib/docker/overlay2/1b356c2511a7c95f96777986a6fcc46940522560586a698b4c370092e8562887/diff",
            "WorkDir": "/var/lib/docker/overlay2/1b356c2511a7c95f96777986a6fcc46940522560586a698b4c370092e8562887/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:f6faf32734e0870d82ea890737958fe33ce9ddfed27b3b157576d2aadbab3322",
            "sha256:7cfafa82cfd2b6a92aeb90093e38fb88fa4377948d71bd970d11a51bae16d2f1",
            "sha256:0905150af928fc88e784dcad5ba98d5f3c2ab28c51c30ac7c7aa8599100cf02f",
            "sha256:ffe60aac26fce04aa507ee52ebf97f2da44fa5a2b475099d4260349c3e1cc329",
            "sha256:5fcf041da4dbcece7ec913912c7982b4876be3fc1a3f634567427effaa2b1893",
            "sha256:2aacb58db82c299836d1462848ed4ff8343302b5be0acccf6807c051c8722264"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-21T14:02:11.528669222+08:00"
    }
}

更多版本

docker.io/lukemathwalker/cargo-chef:latest-rust-1.75-bookworm

linux/amd64 docker.io1.46GB2024-11-06 12:06
17

docker.io/lukemathwalker/cargo-chef:latest-rust-1.79

linux/amd64 docker.io1.43GB2024-11-21 14:02
7