| # debian.sh --arch 'amd64' out/ 'trixie' '@1781049600' |
| ENV DEBIAN_FRONTEND=noninteractive |
| ENV TZ=Europe/Berlin |
| ENV PATH=/usr/local/go/bin:/root/.cargo/bin:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates openssh-client unzip zip xz-utils zstd build-essential cmake ninja-build pkg-config autoconf automake libtool python3 python3-dev python3-venv python3-pip curl nano jq wget git gh nmap openssl gnupg ffmpeg imagemagick pandoc && rm -rf /var/lib/apt/lists/* # buildkit |
| ENV NODE_VERSION=22.15.0 |
| RUN /bin/sh -c curl -fsSL "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz" | tar -xJf - -C /usr/local --strip-components=1 && npm install -g npm@latest && corepack enable # buildkit |
| ENV GOLANG_VERSION=1.26.0 |
| RUN /bin/sh -c curl -fsSL "https://go.dev/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz" | tar -C /usr/local -xzf - # buildkit |
| RUN /bin/sh -c curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable && rustup component add rustfmt clippy && rustup target add x86_64-unknown-linux-musl # buildkit |
| RUN /bin/sh -c curl -LsSf https://astral.sh/uv/install.sh | sh && rm -rf /usr/lib/python*/EXTERNALLY-MANAGED && uv pip install --system pip setuptools wheel --upgrade # buildkit |
| RUN /bin/sh -c wget -qO /usr/local/bin/yq "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64" && chmod +x /usr/local/bin/yq # buildkit |
| WORKDIR /workspace |
| CMD ["/usr/bin/sleep" "infinity"] |