Add a Dockerfile

This commit is contained in:
Maschell 2020-06-27 12:38:19 +02:00
parent 2d540dff75
commit c689967d12
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/wiiupluginsystem:20200626 /artifacts $DEVKITPRO
COPY --from=wiiuenv/libiosuhax:20200627 /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 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
```