Add a Dockerfile

This commit is contained in:
Maschell 2020-06-27 12:24:14 +02:00
parent 7e6a6ddc52
commit b20b41901b
2 changed files with 20 additions and 0 deletions

6
Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM wiiuenv/devkitppc:20200625
COPY --from=wiiuenv/libwupsbackend:20200627 /artifacts $DEVKITPRO
COPY --from=wiiuenv/wiiupluginsystem:20200626 /artifacts $DEVKITPRO
WORKDIR project

14
README.md Normal file
View File

@ -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 wiiloadplugin-builder
# make
docker run -it --rm -v ${PWD}:/project wiiloadplugin-builder make
# make clean
docker run -it --rm -v ${PWD}:/project wiiloadplugin-builder make clean
```