| # debian.sh --arch 'amd64' out/ 'trixie' '@1775433600' |
| LABEL maintainer=charles@jacquin.app |
| LABEL description=CI base image with common build tools for all projects |
| ARG JUST_VERSION=1.36.0 |
| ARG TOMBI_VERSION=0.7.14 |
| ARG RUMDL_VERSION=0.1.71 |
| RUN |3 JUST_VERSION=1.36.0 TOMBI_VERSION=0.7.14 RUMDL_VERSION=0.1.71 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends nodejs git curl ca-certificates build-essential pkg-config && rm -rf /var/lib/apt/lists/* # buildkit |
| ENV RUSTUP_HOME=/usr/local/rustup CARGO_HOME=/usr/local/cargo |
| RUN |3 JUST_VERSION=1.36.0 TOMBI_VERSION=0.7.14 RUMDL_VERSION=0.1.71 /bin/sh -c curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal && /usr/local/cargo/bin/rustup component add clippy rustfmt && ln -sf /usr/local/cargo/bin/* /usr/local/bin/ && rm -rf /usr/local/cargo/registry /tmp/* # buildkit |
| RUN |3 JUST_VERSION=1.36.0 TOMBI_VERSION=0.7.14 RUMDL_VERSION=0.1.71 /bin/sh -c curl --proto '=https' --tlsv1.2 -fL "https://github.com/casey/just/releases/download/${JUST_VERSION}/just-${JUST_VERSION}-x86_64-unknown-linux-musl.tar.gz" -o /tmp/just.tar.gz && tar -xzf /tmp/just.tar.gz -C /tmp just && install -m 755 /tmp/just /usr/local/bin/just && rm -rf /tmp/just* # buildkit |
| RUN |3 JUST_VERSION=1.36.0 TOMBI_VERSION=0.7.14 RUMDL_VERSION=0.1.71 /bin/sh -c curl --proto '=https' --tlsv1.2 -fL "https://github.com/tombi-toml/tombi/releases/download/v${TOMBI_VERSION}/tombi-cli-${TOMBI_VERSION}-x86_64-unknown-linux-musl.gz" -o /tmp/tombi.gz && gunzip /tmp/tombi.gz && install -m 755 /tmp/tombi /usr/local/bin/tombi && rm -f /tmp/tombi* # buildkit |
| RUN |3 JUST_VERSION=1.36.0 TOMBI_VERSION=0.7.14 RUMDL_VERSION=0.1.71 /bin/sh -c curl --proto '=https' --tlsv1.2 -fL "https://github.com/rvben/rumdl/releases/download/v${RUMDL_VERSION}/rumdl-v${RUMDL_VERSION}-x86_64-unknown-linux-musl.tar.gz" -o /tmp/rumdl.tar.gz && tar -xzf /tmp/rumdl.tar.gz -C /tmp rumdl && install -m 755 /tmp/rumdl /usr/local/bin/rumdl && rm -rf /tmp/rumdl* # buildkit |