Optimize the Dockerfile

This commit is contained in:
Maschell 2018-09-24 22:44:47 +02:00
parent 4699670417
commit 821fa7b53b

View File

@ -9,10 +9,8 @@ RUN git clone https://github.com/Maschell/libutils -b master && cd libutils && g
WORKDIR libutils
RUN make && \
rm -rf $DEVKITPRO/portlibs && \
mkdir -p $DEVKITPRO/portlibs/ppc/lib && \
mkdir -p $DEVKITPRO/portlibs/ppc/include && \
find $DEVKITPRO/portlibs -maxdepth 3 -type f -delete && \
make install && \
cp -r ${DEVKITPRO}/portlibs /artifacts
WORKDIR /artifacts
WORKDIR /artifacts