forked from n64decomp/sm64
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
incorporate streetster's suggestions
- Loading branch information
Showing
2 changed files
with
20 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,26 @@ | ||
FROM ubuntu:latest | ||
FROM ubuntu:18.04 as build | ||
|
||
RUN apt update | ||
RUN apt install -y wget build-essential pkg-config git binutils-mips-linux-gnu python3 zlib1g-dev libaudiofile-dev bsdmainutils | ||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
binutils-mips-linux-gnu \ | ||
bsdmainutils \ | ||
build-essential \ | ||
libaudiofile-dev \ | ||
pkg-config \ | ||
python3 \ | ||
wget \ | ||
zlib1g-dev | ||
|
||
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 wget \ | ||
https://github.com/n64decomp/qemu-irix/releases/download/v2.11-deb/qemu-irix-2.11.0-2169-g32ab296eef_amd64.deb \ | ||
-O qemu.deb && \ | ||
echo 8170f37cf03a08cc2d7c1c58f10d650ea0d158f711f6916da9364f6d8c85f741 qemu.deb | sha256sum --check && \ | ||
dpkg -i qemu.deb && \ | ||
rm qemu.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' | ||
CMD echo 'usage: docker run --rm --mount type=bind,source="$(pwd)",destination=/sm64 sm64 make VERSION=${VERSION:-us} -j4\n' \ | ||
'see https://github.com/n64decomp/sm64/blob/master/README.md for advanced usage' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters