From 296880fee5640ae48a9062b8827daee76ae9bc7a Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 5 Jul 2020 13:18:50 +0200 Subject: [PATCH] Add Dockerfile --- Dockerfile | 5 +++++ README.md | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 Dockerfile create mode 100644 README.md diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b0f613b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM wiiuenv/devkitppc:20200625 + +COPY --from=wiiuenv/wiiumodulesystem:20200626 /artifacts $DEVKITPRO + +WORKDIR project \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..31ec720 --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +Run via [SetupPayload](https://github.com/wiiu-env/SetupPayload). Requires [wut](https://github.com/decaf-emu/wut), [wums](https://github.com/wiiu-env/WiiUModuleSystem) + +## 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 kernelmodule-builder + +# make +docker run -it --rm -v ${PWD}:/project kernelmodule-builder make + +# make clean +docker run -it --rm -v ${PWD}:/project kernelmodule-builder make clean +``` \ No newline at end of file