Add Dockerfile

This commit is contained in:
Maschell 2020-07-05 13:18:50 +02:00
parent 21f1dcfdd5
commit 296880fee5
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:20200626 /artifacts $DEVKITPRO
WORKDIR project

16
README.md Normal file
View File

@ -0,0 +1,16 @@
Run via [SetupPayload](https://github.com/wiiu-env/SetupPayload). Requires [wut](https://github.com/decaf-emu/wut), [wums](https://github.com/wiiu-env/WiiUModuleSystem)
## 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 kernelmodule-builder
# make
docker run -it --rm -v ${PWD}:/project kernelmodule-builder make
# make clean
docker run -it --rm -v ${PWD}:/project kernelmodule-builder make clean
```