|
|
@ -5,17 +5,17 @@ RUN apt-get update -y && apt-get install -y wget bzip2 libsdl1.2debian unzip |
|
|
|
WORKDIR /src |
|
|
|
WORKDIR /src |
|
|
|
|
|
|
|
|
|
|
|
# Download and extract soruce |
|
|
|
# Download and extract soruce |
|
|
|
RUN wget https://zandronum.com/downloads/zandronum3.0-linux-x86_64.tar.bz2 |
|
|
|
RUN wget https://zandronum.com/downloads/zandronum3.1-linux-x86_64.tar.bz2 |
|
|
|
RUN tar xjf zandronum*.tar.bz2 |
|
|
|
RUN tar xjf zandronum*.tar.bz2 |
|
|
|
|
|
|
|
|
|
|
|
# Extract libs used by server |
|
|
|
# Extract libs used by server |
|
|
|
RUN mkdir -p /export/libs |
|
|
|
RUN mkdir -p /export/libs |
|
|
|
COPY extract_server.sh . |
|
|
|
COPY extract_libs.sh . |
|
|
|
RUN bash ./extract_server.sh zandronum-server /export/libs |
|
|
|
RUN bash ./extract_libs.sh zandronum-server /export/libs |
|
|
|
RUN cp libcrypto* /export/libs |
|
|
|
RUN cp *.so /export/libs |
|
|
|
|
|
|
|
|
|
|
|
# Copy server and required files to /export |
|
|
|
# Copy server and required files to /export |
|
|
|
RUN cp zandronum-server zandronum.pk3 /export/ |
|
|
|
RUN cp zandronum-server zandronum.pk3 skulltag_actors.pk3 /export/ |
|
|
|
|
|
|
|
|
|
|
|
# Download FreeDM WAD |
|
|
|
# Download FreeDM WAD |
|
|
|
RUN wget https://github.com/freedoom/freedoom/releases/download/v0.12.1/freedm-0.12.1.zip |
|
|
|
RUN wget https://github.com/freedoom/freedoom/releases/download/v0.12.1/freedm-0.12.1.zip |
|
|
@ -25,7 +25,8 @@ RUN cd freedm* && cp freedm.wad /export |
|
|
|
# Libraries that aren't in busybox or alpines musl are needed :( |
|
|
|
# Libraries that aren't in busybox or alpines musl are needed :( |
|
|
|
FROM debian:stable-slim |
|
|
|
FROM debian:stable-slim |
|
|
|
|
|
|
|
|
|
|
|
RUN apt-get update -y && apt-get install -y wget |
|
|
|
RUN apt-get update -y |
|
|
|
|
|
|
|
RUN apt-get install -y wget libsdl1.2debian libjpeg62 |
|
|
|
RUN apt-get clean && apt-get autoclean |
|
|
|
RUN apt-get clean && apt-get autoclean |
|
|
|
RUN rm -rf /var/lib/apt/lists/* |
|
|
|
RUN rm -rf /var/lib/apt/lists/* |
|
|
|
|
|
|
|
|
|
|
|