add libcurl and do some cleanup
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Daniel Wolf 2021-09-01 12:10:52 -04:00
parent 135bae2b98
commit b7383f7ce2
Signed by: nephatrine
GPG Key ID: 59D70EC2E4AAB4D0
2 changed files with 4 additions and 2 deletions

View File

@ -3,6 +3,7 @@ LABEL maintainer="Daniel Wolf <nephatrine@gmail.com>"
RUN echo "====== COMPILE QUAKE II ======" \
&& apk add \
libcurl \
screen sdl2 \
&& apk add --virtual .build-quake2 build-base \
clang \
@ -47,7 +48,7 @@ RUN echo "====== COMPILE QUAKE II ======" \
&& cp /opt/quake2/zaero/game.so /opt/quake2/zaero/game.real.so \
&& cp /opt/quake2/smd/game.so /opt/quake2/smd/game.real.so \
&& mkdir -p /mnt/shared \
&& cd /usr/src && rm -rf /usr/src/* \
&& cd /usr/src && rm -rf /usr/src/* /usr/local/include/orca /usr/local/lib/*.a \
&& apk del --purge .build-quake2 && rm -rf /var/cache/apk/*
COPY override /

View File

@ -5,6 +5,7 @@ ENV QUAKE2_MIRROR=true
RUN echo "====== COMPILE QUAKE II ======" \
&& apk add \
libcurl \
screen sdl2 \
&& apk add --virtual .build-quake2 build-base \
clang \
@ -48,7 +49,7 @@ RUN echo "====== COMPILE QUAKE II ======" \
&& cp /opt/quake2/rogue/game.so /opt/quake2/rogue/game.real.so \
&& cp /opt/quake2/zaero/game.so /opt/quake2/zaero/game.real.so \
&& cp /opt/quake2/smd/game.so /opt/quake2/smd/game.real.so \
&& cd /usr/src && rm -rf /usr/src/* \
&& cd /usr/src && rm -rf /usr/src/* /usr/local/include/orca /usr/local/lib/*.a \
&& apk del --purge .build-quake2 && rm -rf /var/cache/apk/*
COPY override /