Add Dockerfile

This commit is contained in:
Maschell 2020-06-27 10:26:41 +02:00
parent 3476644ed0
commit fb6e6b160e
2 changed files with 26 additions and 0 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM wiiuenv/devkitppc:20200625
COPY --from=devkitpro/devkitarm:20200528 $DEVKITPRO/devkitARM $DEVKITPRO/devkitARM
# RUN dkp-pacman -Syu devkitARM --noconfirm
ENV DEVKITARM=/opt/devkitpro/devkitARM
WORKDIR project

View File

@ -16,6 +16,24 @@ Requires [PayloadFromRPX](https://github.com/wiiu-env/PayloadFromRPX) as `sd:/wi
For building you just need [wut](https://github.com/devkitPro/wut/) installed, then use the `make` command.
## 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 mochapayload-builder
# make
docker run -it --rm -v ${PWD}:/project mochapayload-builder make
# make clean
docker run -it --rm -v ${PWD}:/project mochapayload-builder make clean
```
## Credits
dimok
Maschell