From c689967d12af07a634b373dc6835be6c46de8240 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 27 Jun 2020 12:38:19 +0200 Subject: [PATCH] Add a Dockerfile --- Dockerfile | 6 ++++++ README.md | 14 ++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 Dockerfile create mode 100644 README.md diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..16e8ae2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM wiiuenv/devkitppc:20200625 + +COPY --from=wiiuenv/wiiupluginsystem:20200626 /artifacts $DEVKITPRO +COPY --from=wiiuenv/libiosuhax:20200627 /artifacts $DEVKITPRO + +WORKDIR project \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..b13a36e --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +## 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 ftpiiuplugin-builder + +# make +docker run -it --rm -v ${PWD}:/project ftpiiuplugin-builder make + +# make clean +docker run -it --rm -v ${PWD}:/project ftpiiuplugin-builder make clean +```