FROM wiiuenv/devkitppc:20200810 COPY --from=wiiuenv/libiosuhax:20200812 /artifacts $DEVKITPRO WORKDIR tmp_build COPY . . RUN make include/libfatversion.h && cd wiiu && make clean && make && mkdir -p /artifacts/wut/usr && cp -r lib /artifacts/wut/usr && cp -r ../include /artifacts/wut/usr WORKDIR /artifacts FROM scratch COPY --from=0 /artifacts /artifacts