mirror of
https://github.com/wiiu-env/MochaPayload.git
synced 2024-11-22 07:59:16 +01:00
Add Dockerfile
This commit is contained in:
parent
3476644ed0
commit
fb6e6b160e
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@ -0,0 +1,8 @@
|
||||
FROM wiiuenv/devkitppc:20200625
|
||||
|
||||
COPY --from=devkitpro/devkitarm:20200528 $DEVKITPRO/devkitARM $DEVKITPRO/devkitARM
|
||||
# RUN dkp-pacman -Syu devkitARM --noconfirm
|
||||
|
||||
ENV DEVKITARM=/opt/devkitpro/devkitARM
|
||||
|
||||
WORKDIR project
|
18
README.md
18
README.md
@ -16,6 +16,24 @@ Requires [PayloadFromRPX](https://github.com/wiiu-env/PayloadFromRPX) as `sd:/wi
|
||||
|
||||
For building you just need [wut](https://github.com/devkitPro/wut/) installed, then use the `make` command.
|
||||
|
||||
|
||||
## 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 mochapayload-builder
|
||||
|
||||
# make
|
||||
docker run -it --rm -v ${PWD}:/project mochapayload-builder make
|
||||
|
||||
# make clean
|
||||
docker run -it --rm -v ${PWD}:/project mochapayload-builder make clean
|
||||
```
|
||||
|
||||
|
||||
|
||||
## Credits
|
||||
dimok
|
||||
Maschell
|
||||
|
Loading…
Reference in New Issue
Block a user