docker-mdbook (0)

Published 2023-08-10 17:57:39 +02:00 by so-rose in python-support/docker-mdbook

Installation

docker pull git.sofus.io/so-rose/docker-mdbook:0
sha256:f08f6222086a23b8aa19eca14f9891319130bd3069c2aed374e37e3f9c8767e3

Image Layers

ADD file:209589a8bdb5a3788ee42ecdbccbbb561835dab96b0d8286bb5a2229d2f41be7 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.71.1
/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/*;
ENV CARGO_INSTALL_ROOT /usr/local/
ENV CARGO_TARGET_DIR /tmp/target/
/bin/sh -c --mount=type=cache,target=/var/cache/apt apt update && apt install -y libssl-dev pkg-config ca-certificates build-essential make perl gcc libc6-dev
ARG MDBOOK_VERSION=0.4.34
|1 MDBOOK_VERSION=0.4.34 /bin/sh -c --mount=type=cache,target=/tmp/target/ cargo install mdbook --vers ${MDBOOK_VERSION} --verbose
ENTRYPOINT []
CMD []

Labels

Key Value
io.buildah.version 1.19.6
Details
Container
2023-08-10 17:57:39 +02:00
0
OCI / Docker
linux/amd64
553 MiB
Versions (4) View all
0 2023-08-10
0.4 2023-08-10
0.4.34 2023-08-10
c976e2514896ec37 2023-08-10