FROM ghcr.io/wiiu-env/devkitppc:20221228 COPY --from=ghcr.io/wiiu-env/wiiupluginsystem:20230215 /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