Update the Dockerfile to provide artifacts in folder artifacts, cleanup, added maintainer.

This commit is contained in:
Maschell 2018-09-21 16:15:45 +02:00
parent 93ca7d752c
commit f9f38ae7ef

View File

@ -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 <maschell@gmx.de>
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
WORKDIR /artifacts