Dockerfile for doing development

This commit is contained in:
Gwilym Kuiper 2021-03-06 22:52:29 +00:00
parent e28e567535
commit 943caac685
2 changed files with 15 additions and 0 deletions

1
.dockerignore Normal file
View file

@ -0,0 +1 @@
*

14
Dockerfile Normal file
View file

@ -0,0 +1,14 @@
FROM devkitpro/devkitarm:20190212
RUN apt-get update && \
apt-get install -y build-essential && \
apt-get clean
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
RUN . "$HOME/.cargo/env" && \
cargo install cargo-xbuild && \
rustup component add rust-src
RUN echo 'export PATH=$PATH:$DEVKITARM/bin' >> $HOME/.bashrc
CMD /bin/bash