Dockerfile with install.sh script

This commit is contained in:
Mark Street 2020-12-28 12:26:41 +00:00
parent 30610071a1
commit 8c177ca0ae
2 changed files with 15 additions and 1 deletions

View File

@ -2,7 +2,11 @@ FROM ubuntu:20.04 as build
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN sudo ./install.sh COPY requirements.txt /
COPY requirements_extra.txt /
COPY install.sh /
RUN apt-get update && apt-get install -y sudo && ./install.sh --extra
RUN mkdir /papermario RUN mkdir /papermario
WORKDIR /papermario WORKDIR /papermario

View File

@ -24,6 +24,16 @@ $ ./install.sh
Our install script does not yet support distros other than Ubuntu, Arch, and their derivatives. Please consider contributing to the script if you use another distro! Our install script does not yet support distros other than Ubuntu, Arch, and their derivatives. Please consider contributing to the script if you use another distro!
##### Docker
A Docker image containing all dependencies can be built and ran as follows:
```sh
# build image
$ docker build . -t pm
# spin up container, mounting current directory inside
$ docker run --rm -ti -v $(pwd):/papermario pm
```
#### Base ROM #### Base ROM
You'll need a Paper Mario (USA) ROM to work on this project. Copy it into the root directory of the repository with the name `baserom.z64`. You'll need a Paper Mario (USA) ROM to work on this project. Copy it into the root directory of the repository with the name `baserom.z64`.