libmocha/Dockerfile

11 lines
455 B
Docker
Raw Normal View History

2022-06-09 19:11:30 +02:00
FROM wiiuenv/devkitppc:20220605
2022-06-11 17:58:39 +02:00
RUN git clone --depth 1 --single-branch -b filesystemstructs https://github.com/Maschell/wut && cd wut && git reset --hard f73f75225b62fd546fedc7b366cee1d87b4b72a5 && make install && cd .. && rm -rf wut
2022-06-09 19:11:30 +02:00
WORKDIR tmp_build
COPY . .
RUN 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