add a Dockerfile for building
This commit is contained in:
parent
a56b537ba4
commit
53cca3beff
1 changed files with 25 additions and 0 deletions
25
docker/Dockerfile
Normal file
25
docker/Dockerfile
Normal 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"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue