nano-rust-builder (1.78.81a775c)

Published 2024-02-29 20:12:10 +00:00 by nanobyte_bot

Installation

docker pull git.nanobyte.cz/nanobyte-public/nano-rust-builder:1.78.81a775c
sha256:1292fb8d1d93f3c1e5886d17ced948d18c1d6282bea1a968540f45314976ed85

About this package

The official Docker images for Rust

Image Layers

ADD file:333b899a197a48b3333115a3b59efed559494808873943f606a9bc2b6e242c49 in /
CMD ["bash"]
/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/*
/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/*
/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/*
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=nightly
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
COPY cargo-nan.sh /bin/cargo-nan # buildkit
RUN /bin/sh -c apt-get install -y ca-certificates curl gnupg # buildkit
RUN /bin/sh -c mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg # buildkit
RUN /bin/sh -c echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_21.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list # buildkit
RUN /bin/sh -c apt-get update && apt-get install -y nodejs && rm -rf /var/cache/apt* # buildkit

Labels

Key Value
org.opencontainers.image.created 2024-02-29T00:10:57.178Z
org.opencontainers.image.description The official Docker images for Rust
org.opencontainers.image.licenses
org.opencontainers.image.revision e89a9be8e538b083c65f084ffa6be15353d27e96
org.opencontainers.image.source https://github.com/rust-lang/docker-rust
org.opencontainers.image.title docker-rust
org.opencontainers.image.url https://github.com/rust-lang/docker-rust
org.opencontainers.image.version nightly-bookworm
Details
Container
2024-02-29 20:12:10 +00:00
0
OCI / Docker
linux/amd64
571 MiB
Versions (3) View all
1.78.81a775c 2024-02-29
latest 2024-02-29
1.74.5f84654 2023-12-09