Add Dockerfile and readme

This commit is contained in:
Maschell 2018-09-21 18:16:56 +02:00
parent 5b75ab1515
commit 6c147b1ca8
2 changed files with 22 additions and 0 deletions

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM wiiulegacy/core:0.1
COPY --from=wiiulegacy/libiosuhax:0.3 /artifacts $DEVKITPRO/portlibs
RUN git clone https://github.com/Maschell/libntfs-wiiu && cd libntfs-wiiu && git checkout v2013.1.13
WORKDIR libntfs-wiiu
RUN make wiiu-release && \
find $DEVKITPRO/portlibs -maxdepth 3 -type f -delete && \
make -C source wiiu-install PLATFORM=wiiu && \
cp -r ${DEVKITPRO}/portlibs /artifacts
WORKDIR /artifacts
RUN find .

View File

@ -10,3 +10,11 @@ Link the application with:
To be able to use libntfs for the Wii u, you need to install the following dependencies: To be able to use libntfs for the Wii u, you need to install the following dependencies:
- [libiosuhax](https://github.com/dimok789/libiosuhax) - [libiosuhax](https://github.com/dimok789/libiosuhax)
# Use the prebuilt files from a Docker image.
The image `wiiulegacy/libntfs` on [Docker Hub](https://hub.docker.com/r/wiiulegacy/libntfs/) provides a prebuilt library in the `/artifacts` directory. Copy it into your DevkitPPC portlibs folder.
Example:
```
COPY --from=wiiulegacy/libntfs:2013.1.13 /artifacts $DEVKITPRO/portlibs
```