You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
455 B
18 lines
455 B
FROM debian:stable-slim
|
|
|
|
RUN apt-get update -y && apt-get install -y chocolate-doom
|
|
|
|
RUN apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/
|
|
|
|
RUN mkdir -p /export/libs
|
|
|
|
COPY extract_server.sh /
|
|
RUN bash /extract_server.sh /usr/games/chocolate-server /export/libs
|
|
|
|
FROM debian:stable-slim
|
|
|
|
COPY --from=0 /export /srv
|
|
|
|
EXPOSE 10666/udp
|
|
|
|
CMD LD_LIBRARY_PATH=/srv/libs /srv/chocolate-server -privateserver -port 10666
|
|
|