Add a Dockerfile

This commit is contained in:
Maschell 2020-07-22 15:24:30 +02:00
parent ba15797aa1
commit 79c42a3b59
2 changed files with 21 additions and 0 deletions

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM wiiuenv/devkitppc:20200625
COPY --from=devkitpro/devkitarm:20200528 $DEVKITPRO/devkitARM $DEVKITPRO/devkitARM
ENV DEVKITARM=/opt/devkitpro/devkitARM
WORKDIR project

View File

@ -14,6 +14,20 @@ Make you to have [wut](https://github.com/devkitPro/wut/) installed and use the
make
```
## Building using the Dockerfile
It's possible to use a docker image for building. This way you don't need anything installed on your host system.
```
# Build docker image (only needed once)
docker build . -t payloadfromrpx-builder
# make
docker run -it --rm -v ${PWD}:/project payloadfromrpx-builder make
# make clean
docker run -it --rm -v ${PWD}:/project payloadfromrpx-builder make clean
```
## Credits
- orboditilt