Add a Dockerfile

This commit is contained in:
Maschell 2020-06-26 20:41:42 +02:00
parent 2a0a0f2e0d
commit 35bdce94fb
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/wiiumodulesystem:20200626 /artifacts $DEVKITPRO
COPY --from=wiiuenv/wiiupluginsystem:20200626 /artifacts $DEVKITPRO
COPY --from=wiiuenv/libfunctionpatcher:20200626 /artifacts $DEVKITPRO
WORKDIR project

View File

@ -31,6 +31,21 @@ DEVKITPPC=/opt/devkitpro/devkitPPC
Also make sure to install [wut](https://github.com/decaf-emu/wut), [WiiUPluginSystem](https://github.com/wiiu-env/WiiUPluginSystem) and the [WiiUModuleSystem](https://github.com/wiiu-env/WiiUModuleSystem).
It requires the [FunctionPatcherModule](https://github.com/wiiu-env/FunctionPatcherModule) to be running at the same time and it's linking aginst [libfunctionpatcher](https://github.com/wiiu-env/libfunctionpatcher).
## 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 wiiupluginloaderbackend-builder
# make
docker run -it --rm -v ${PWD}:/project wiiupluginloaderbackend-builder make
# make clean
docker run -it --rm -v ${PWD}:/project wiiupluginloaderbackend-builder make clean
```
# Credits
- Maschell
- orboditilt