add a Dockerfile for building

This commit is contained in:
Sebastian Kuzminsky 2025-09-04 17:29:07 -06:00
parent a56b537ba4
commit 53cca3beff

25
docker/Dockerfile Normal file
View file

@ -0,0 +1,25 @@
FROM debian:testing
RUN ( \
set -e; \
apt-get -yq update; \
apt-get -yq install \
build-essential \
curl \
mdbook \
plantuml \
vim-nox \
; \
apt-get clean; \
)
ENV RUSTUP_HOME=/opt/rustup
ENV CARGO_HOME=/opt/cargo
RUN ( \
set -e; \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y ; \
chmod 777 /opt/rustup /opt/cargo; \
)
ENV PATH="$PATH:$CARGO_HOME/bin"