From 79c42a3b591cb3c1f28381e43cfb72dc05e107c7 Mon Sep 17 00:00:00 2001 From: Maschell Date: Wed, 22 Jul 2020 15:24:30 +0200 Subject: [PATCH] Add a Dockerfile --- Dockerfile | 7 +++++++ README.md | 14 ++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7f16e35 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM wiiuenv/devkitppc:20200625 + +COPY --from=devkitpro/devkitarm:20200528 $DEVKITPRO/devkitARM $DEVKITPRO/devkitARM + +ENV DEVKITARM=/opt/devkitpro/devkitARM + +WORKDIR project \ No newline at end of file diff --git a/README.md b/README.md index 6ad7f74..78f5664 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,20 @@ Make you to have [wut](https://github.com/devkitPro/wut/) installed and use the make ``` +## 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 payloadfromrpx-builder + +# make +docker run -it --rm -v ${PWD}:/project payloadfromrpx-builder make + +# make clean +docker run -it --rm -v ${PWD}:/project payloadfromrpx-builder make clean +``` ## Credits - orboditilt