From f9f38ae7efe26bc9419fc8730d1d999f8cb67228 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 21 Sep 2018 16:15:45 +0200 Subject: [PATCH] Update the Dockerfile to provide artifacts in folder artifacts, cleanup, added maintainer. --- Dockerfile | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index fe65e1e..ac1b8b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,18 @@ FROM wiiulegacy/core:0.1 -RUN rm -rf $DEVKITPRO/portlibs -COPY --from=wiiulegacy/dynamic_libs:0.1 $DEVKITPRO/portlibs $DEVKITPRO/portlibs +MAINTAINER Maschell + +COPY --from=wiiulegacy/dynamic_libs:0.1 /artifacts $DEVKITPRO/portlibs + +RUN git clone https://github.com/Maschell/libutils -b master && cd libutils && git checkout v0.1 -RUN git clone https://github.com/Maschell/libutils -b master WORKDIR libutils -RUN git checkout v0.1 -RUN make && make install +RUN make && \ + rm -rf $DEVKITPRO/portlibs && \ + mkdir -p $DEVKITPRO/portlibs/ppc/lib && \ + mkdir -p $DEVKITPRO/portlibs/ppc/include && \ + make install && \ + cp -r ${DEVKITPRO}/portlibs /artifacts -WORKDIR .. -RUN rm -rf libutils \ No newline at end of file +WORKDIR /artifacts \ No newline at end of file