First attempt at building a docker image

This commit is contained in:
Simon Sapin 2018-09-06 18:48:40 +02:00
parent 721e086b33
commit 400855d707
3 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,14 @@
FROM ubuntu:bionic-20180821
RUN apt-get update && \
apt-get install -y --no-install-recommends \
git \
curl \
ca-certificates \
python2.7 \
g++ \
&& \
rm -rf /var/lib/apt/lists/* && \
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y
ENV PATH="/root/.cargo/bin:${PATH}"