Add a dockerfile for building via docker

This commit is contained in:
Maschell 2020-11-27 14:02:05 +01:00
parent b6c666214b
commit c3abe437f5
2 changed files with 19 additions and 0 deletions

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM wiiuenv/devkitppc:20200810
WORKDIR project

View File

@ -28,6 +28,22 @@ DEVKITPPC=/opt/devkitpro/devkitPPC
The command `make` should produce a `payload.elf`, meant to be used with the
[payload_loader](https://github.com/wiiu-env/payload_loader)
## 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 hbl-installer-builder
# make
docker run -it --rm -v ${PWD}:/project hbl-installer-builder make
# make clean
docker run -it --rm -v ${PWD}:/project hbl-installer-builder make clean
```
# Credits
- dimok789: [original installer](https://github.com/dimok789/homebrew_launcher))