diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d9804e8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM wiiuenv/devkitppc:20200625 + +COPY --from=devkitpro/devkitarm:20200528 $DEVKITPRO/devkitARM $DEVKITPRO/devkitARM +# RUN dkp-pacman -Syu devkitARM --noconfirm + +ENV DEVKITARM=/opt/devkitpro/devkitARM + +WORKDIR project \ No newline at end of file diff --git a/README.md b/README.md index 2936128..ef551fb 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,24 @@ Requires [PayloadFromRPX](https://github.com/wiiu-env/PayloadFromRPX) as `sd:/wi For building you just need [wut](https://github.com/devkitPro/wut/) installed, then use the `make` command. + +## 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 mochapayload-builder + +# make +docker run -it --rm -v ${PWD}:/project mochapayload-builder make + +# make clean +docker run -it --rm -v ${PWD}:/project mochapayload-builder make clean +``` + + + ## Credits dimok Maschell