diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..72e8ffc0 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +* diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..280f45f3 --- /dev/null +++ b/Dockerfile @@ -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 \ No newline at end of file