2018-09-22 19:52:52 +02:00
|
|
|
FROM wups/core:latest
|
|
|
|
|
|
|
|
# clear portlibs. just in case.
|
|
|
|
RUN rm -rf $DEVKITPRO/portlibs
|
|
|
|
|
|
|
|
# Install devkitARM. Needed to build mocha.
|
|
|
|
RUN yes | sudo dkp-pacman -Syu devkitARM --needed
|
|
|
|
ENV DEVKITARM=${DEVKITPRO}/devkitARM
|
|
|
|
|
|
|
|
# Get dependencies
|
|
|
|
COPY --from=wiiulegacy/dynamic_libs:0.1 /artifacts $DEVKITPRO/portlibs
|
|
|
|
COPY --from=wiiulegacy/libiosuhax:0.3 /artifacts $DEVKITPRO/portlibs
|
|
|
|
COPY --from=wiiulegacy/libfat:1.1.3a /artifacts $DEVKITPRO/portlibs
|
|
|
|
COPY --from=wiiulegacy/libntfs:2013.1.13 /artifacts $DEVKITPRO/portlibs
|
|
|
|
COPY --from=wiiulegacy/libutils:0.1 /artifacts $DEVKITPRO/portlibs
|
|
|
|
COPY --from=wiiulegacy/libgui:0.1 /artifacts $DEVKITPRO/portlibs
|
|
|
|
|
2018-09-22 19:55:52 +02:00
|
|
|
RUN wget https://github.com/Maschell/WiiUPluginLoader/raw/master/libs/portlibs.zip && \
|
2018-09-22 19:52:52 +02:00
|
|
|
7z x -y portlibs.zip -o${DEVKITPRO} && \
|
|
|
|
rm portlibs.zip
|
|
|
|
|
|
|
|
WORKDIR project
|