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

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

温馨提示:此镜像为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.75-bookworm
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lukemathwalker/cargo-chef:latest-rust-1.75-bookworm
镜像ID sha256:b24a3242213e180c937c1638b05f573be6931c30f29d457e2b0e422ab84930d6
镜像TAG latest-rust-1.75-bookworm
大小 1.46GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录
OS/平台 linux/amd64
浏览量 18 次
贡献者
镜像创建 2024-02-08T07:47:24.24738718Z
同步时间 2024-11-06 12:06
更新时间 2024-11-20 00:46
环境变量
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.75.0 CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.4 扫描引擎: Trivy 扫描时间: 2024-11-06 12:07

低危漏洞:575 中危漏洞:1808 高危漏洞:418 严重漏洞:24

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

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#lukemathwalker/cargo-chef:latest-rust-1.75-bookworm#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lukemathwalker/cargo-chef:latest-rust-1.75-bookworm#' 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.75-bookworm && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lukemathwalker/cargo-chef:latest-rust-1.75-bookworm  docker.io/lukemathwalker/cargo-chef:latest-rust-1.75-bookworm'

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.75-bookworm && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lukemathwalker/cargo-chef:latest-rust-1.75-bookworm  docker.io/lukemathwalker/cargo-chef:latest-rust-1.75-bookworm'

镜像历史

大小 创建时间 层信息
9.30MB 2024-02-08 15:47:24 RUN |1 CHEF_TAG=0.1.62 /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-02-08 15:47:24 ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
0.00B 2024-02-08 15:47:24 ARG CHEF_TAG
520.25MB 2024-01-11 02:59:53 RUN /bin/sh -c set -eux; dpkgArch="$(dpkg --print-architecture)"; case "${dpkgArch##*-}" in amd64) rustArch='x86_64-unknown-linux-gnu'; rustupSha256='0b2f6c8f85a3d02fde2efc0ced4657869d73fccfce59defb4e8d29233116e6db' ;; armhf) rustArch='armv7-unknown-linux-gnueabihf'; rustupSha256='f21c44b01678c645d8fbba1e55e4180a01ac5af2d38bcbd14aa665e0d96ed69a' ;; arm64) rustArch='aarch64-unknown-linux-gnu'; rustupSha256='673e336c81c65e6b16dcdede33f4cc9ed0f08bde1dbe7a935f113605292dc800' ;; i386) rustArch='i686-unknown-linux-gnu'; rustupSha256='e7b0f47557c1afcd86939b118cbcf7fb95a5d1d917bdd355157b63ca00fc4333' ;; ppc64el) rustArch='powerpc64le-unknown-linux-gnu'; rustupSha256='1032934fb154ad2d365e02dcf770c6ecfaec6ab2987204c618c21ba841c97b44' ;; *) echo >&2 "unsupported architecture: ${dpkgArch}"; exit 1 ;; esac; url="https://static.rust-lang.org/rustup/archive/1.26.0/${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-01-11 02:59:53 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.75.0
587.23MB 2024-01-11 02:59:53 /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.68MB 2024-01-11 02:59:53 /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-01-11 02:59:53 /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-01-11 02:59:53 /bin/sh -c #(nop) CMD ["bash"]
116.55MB 2024-01-11 02:59:53 /bin/sh -c #(nop) ADD file:6d9e71f0d3afb0b288cf2c06425795d528a142872692072ab1cd1ad275b67d1f in /

镜像信息

{
    "Id": "sha256:b24a3242213e180c937c1638b05f573be6931c30f29d457e2b0e422ab84930d6",
    "RepoTags": [
        "lukemathwalker/cargo-chef:latest-rust-1.75-bookworm",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lukemathwalker/cargo-chef:latest-rust-1.75-bookworm"
    ],
    "RepoDigests": [
        "lukemathwalker/cargo-chef@sha256:de118eaad2ecaf38abb661ecf6f06230cccf862db655670e873bc180e2d55fa6",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lukemathwalker/cargo-chef@sha256:57914ec3203de85bc864a4867531e9927adda325eb6d2b1e460da92c102ffae3"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-02-08T07:47:24.24738718Z",
    "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.75.0",
            "CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1458452280,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/ca455bd977f9976cf0c6aba5ca9c8b3bc8c0f67bf4b370479b7eda122e35e01b/diff:/var/lib/docker/overlay2/72e2b27d012654b50c405689eeff633a0e7ffdc4b6b341e79cd754a09a879811/diff:/var/lib/docker/overlay2/867361c99ebb5ab1a8aebc51e62aa31ff0583761e8385ef86b5b36e97c1d1524/diff:/var/lib/docker/overlay2/b3431368745b4037bb621e5c5131f42e3f08869de4a95def3d4346fd2adf3fa0/diff:/var/lib/docker/overlay2/b7721c9606fd7da22876cc59751e126b77d2ed2f3807c72b33899c9591035451/diff",
            "MergedDir": "/var/lib/docker/overlay2/72ba1e7eedcbdd9a1f720e7984df6bd7fe27260bd43cc04c3db372e4dced560f/merged",
            "UpperDir": "/var/lib/docker/overlay2/72ba1e7eedcbdd9a1f720e7984df6bd7fe27260bd43cc04c3db372e4dced560f/diff",
            "WorkDir": "/var/lib/docker/overlay2/72ba1e7eedcbdd9a1f720e7984df6bd7fe27260bd43cc04c3db372e4dced560f/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:1dae5147cd293b16e7b8c93f778dbf7ceff5c81c2b2704d3e5a98d331cdbe0ab",
            "sha256:bcd354c940e1b2a5c23b23b76d7d6d1df242de7e222aae8ceb32cc6ff1a19673",
            "sha256:9f843c569746b6fc06f17d77a368d723b7a702eb9dd9df8e2c86371cf05f7737",
            "sha256:d43f876e6f21d85f0e43c25ff4aaf25c9a2a47de6e91b5fb54dac2b74682c820",
            "sha256:aaa710a85285f1ef57977780cefe03df4ce09fe719d92c7aa154a6ae665baf66",
            "sha256:f56ea7b4fef656001d3205edd096e8bbb55749b888ce1b69cbf4963e5e1d7459"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-06T12:05:46.209068388+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
12