Add a Dockerfile

This commit is contained in:
Maschell 2020-06-25 19:13:12 +02:00
parent d1a5a7f1c2
commit d14f764960
2 changed files with 21 additions and 0 deletions

5
Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM wiiuenv/devkitppc:20200625
COPY --from=wiiuenv/wiiumodulesystem:20200625 /artifacts $DEVKITPRO
WORKDIR project

View File

@ -16,6 +16,22 @@ Make you to have [wut](https://github.com/devkitPro/wut/) and [WiiUModuleSystem]
make install
```
## 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 setuppayload-builder
# make
docker run -it --rm -v ${PWD}:/project setuppayload-builder make
# make clean
docker run -it --rm -v ${PWD}:/project setuppayload-builder make clean
```
## Credits
- maschell
- Copy paste stuff from dimok