From c3abe437f567228c395a502208c0b12176d511bc Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 27 Nov 2020 14:02:05 +0100 Subject: [PATCH] Add a dockerfile for building via docker --- Dockerfile | 3 +++ README.md | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9d90502 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM wiiuenv/devkitppc:20200810 + +WORKDIR project \ No newline at end of file diff --git a/README.md b/README.md index 3078b1e..abb0a41 100644 --- a/README.md +++ b/README.md @@ -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))