2020-04-02 19:50:36 +02:00
|
|
|
FROM ubuntu:18.04 as build
|
2020-04-01 05:11:48 +02:00
|
|
|
|
2020-04-02 19:50:36 +02:00
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y \
|
|
|
|
binutils-mips-linux-gnu \
|
|
|
|
bsdmainutils \
|
|
|
|
build-essential \
|
2022-03-13 09:17:10 +01:00
|
|
|
libcapstone-dev \
|
|
|
|
pkgconf \
|
|
|
|
python3
|
2020-04-01 05:11:48 +02:00
|
|
|
|
|
|
|
RUN mkdir /sm64
|
|
|
|
WORKDIR /sm64
|
2020-06-02 18:44:34 +02:00
|
|
|
ENV PATH="/sm64/tools:${PATH}"
|
2020-04-01 05:11:48 +02:00
|
|
|
|
2022-03-13 09:17:10 +01:00
|
|
|
CMD echo 'usage: docker run --rm --mount type=bind,source="$(pwd)",destination=/sm64 sm64 make VERSION=us -j4\n' \
|
2020-04-02 19:50:36 +02:00
|
|
|
'see https://github.com/n64decomp/sm64/blob/master/README.md for advanced usage'
|