ksp-darkmp/Dockerfile

22 lines
425 B
Text
Raw Permalink Normal View History

2020-08-15 04:03:28 +02:00
FROM mono:5.4
EXPOSE 6702
ARG DMP=0.3.6.0
# add our users and groups first to make sure their IDs get assigned consitently
RUN useradd -d /home/dmp dmp
RUN apt-get -yqq update && apt-get -y install unzip
ADD https://d-mp.org/builds/release/v$DMP/DMPServer.zip /home/dmp/DMPServer.zip
WORKDIR /home/dmp
RUN unzip DMPServer.zip
WORKDIR /home/dmp/DMPServer
RUN chown dmp:dmp /home/dmp -R
USER dmp
CMD mono DMPServer.exe