Add a Dockerfile

This commit is contained in:
Maschell 2020-06-27 10:43:58 +02:00
parent bc9a2b63b3
commit 361f37f566
2 changed files with 22 additions and 0 deletions

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM wiiuenv/devkitppc:20200625
COPY --from=wiiuenv/libkernel:20200627 /artifacts $DEVKITPRO
COPY --from=wiiuenv/libfunctionpatcher:20200626 /artifacts $DEVKITPRO
COPY --from=wiiuenv/wiiumodulesystem:20200626 /artifacts $DEVKITPRO
WORKDIR project

View File

@ -1 +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), [libkernel](https://github.com/wiiu-env/libkernel) and [libfunctionpatcher](https://github.com/wiiu-env/libfunctionpatcher) for building.
## 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 functionpatchermodule-builder
# make
docker run -it --rm -v ${PWD}:/project functionpatchermodule-builder make
# make clean
docker run -it --rm -v ${PWD}:/project functionpatchermodule-builder make clean
```