docker-rust-trunk (master)
Published 2023-06-16 16:52:28 +02:00 by pfzetto
Installation
docker pull git.pfzetto.de/pfzetto/docker-rust-trunk:master
sha256:b0d45268ed626384c6ebe733ad80690c9aa0ef17fb9a804a8f05d6403f150205
Image Layers
ADD file:5ab44909c2983e19ab6596e7e4ee9ad80e48afeb9dfe0e7224afdae7cafd25ef in / |
CMD ["bash"] |
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.70.0 |
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates gcc libc6-dev wget ; 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' ;; *) 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; apt-get remove -y --auto-remove wget ; rm -rf /var/lib/apt/lists/*; |
/bin/sh -c apt update && apt install cmake protobuf-compiler -y |
/bin/sh -c rustup toolchain install nightly |
/bin/sh -c cargo install trunk |
/bin/sh -c rustup default nightly |
/bin/sh -c rustup component add rustfmt |
/bin/sh -c rustup target add wasm32-unknown-unknown |
LABEL org.opencontainers.image.created=2023-06-16T14:43:06Z |
LABEL org.opencontainers.image.revision=08fa64ab9dae9e92dce4020d6ef741b357633a6a |
LABEL org.opencontainers.image.source=https://git2.zettoit.eu/pfz4/docker-rust-trunk.git |
LABEL org.opencontainers.image.url=https://git2.zettoit.eu/pfz4/docker-rust-trunk |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2023-06-16T14:43:06Z |
org.opencontainers.image.revision | 08fa64ab9dae9e92dce4020d6ef741b357633a6a |
org.opencontainers.image.source | https://git2.zettoit.eu/pfz4/docker-rust-trunk.git |
org.opencontainers.image.url | https://git2.zettoit.eu/pfz4/docker-rust-trunk |
Details
2023-06-16 16:52:28 +02:00
Versions (2)
View all
Container
0
OCI / Docker
linux/amd64
564 MiB