From 35bdce94fb4544cecfba04587ee225ca7848f18c Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 26 Jun 2020 20:41:42 +0200 Subject: [PATCH] Add a Dockerfile --- Dockerfile | 7 +++++++ README.md | 15 +++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9a053e4 --- /dev/null +++ b/Dockerfile @@ -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 \ No newline at end of file diff --git a/README.md b/README.md index eeb2351..a3df859 100644 --- a/README.md +++ b/README.md @@ -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