add docker config

This commit is contained in:
Andrew Houts
2020-03-31 20:11:48 -07:00
parent 06ec56df7f
commit a48d6b03d6
2 changed files with 40 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM ubuntu:latest
RUN apt update
RUN apt install -y wget build-essential pkg-config git binutils-mips-linux-gnu python3 zlib1g-dev libaudiofile-dev bsdmainutils
RUN wget https://github.com/n64decomp/qemu-irix/releases/download/v2.11-deb/qemu-irix-2.11.0-2169-g32ab296eef_amd64.deb
RUN dpkg -i qemu-irix-2.11.0-2169-g32ab296eef_amd64.deb
RUN mkdir /sm64
WORKDIR /sm64
ENV PATH="/sm64/tools:${PATH}"
CMD echo 'usage: docker run --rm --mount type=bind,source="$(pwd)",destination=/sm64 sm64 make VERSION=<version> -j4'