FROM wiiuenv/devkitppc:20220806 COPY --from=wiiuenv/wiiupluginsystem:20220904 /artifacts $DEVKITPRO WORKDIR tmp_build COPY . . RUN make clean && make && mkdir -p /artifacts/wups && cp -r lib /artifacts/wups && cp -r include /artifacts/wups && cp -r share /artifacts/wups WORKDIR /artifacts FROM scratch COPY --from=0 /artifacts /artifacts