mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
Dockerfile with install.sh script
This commit is contained in:
parent
30610071a1
commit
8c177ca0ae
@ -2,7 +2,11 @@ FROM ubuntu:20.04 as build
|
||||
|
||||
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
|
||||
WORKDIR /papermario
|
||||
|
10
README.md
10
README.md
@ -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!
|
||||
|
||||
##### 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
|
||||
|
||||
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`.
|
||||
|
Loading…
Reference in New Issue
Block a user