Add a Dockerfile

This commit is contained in:
Maschell 2020-06-27 11:17:50 +02:00
parent 36ba62e669
commit d07aa82110
2 changed files with 23 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

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), [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 memorymappingmodule-builder
# make
docker run -it --rm -v ${PWD}:/project memorymappingmodule-builder make
# make clean
docker run -it --rm -v ${PWD}:/project memorymappingmodule-builder make clean
```