docker-tmserver/Dockerfile

18 lines
355 B
Docker
Raw Normal View History

2019-09-18 15:52:58 +02:00
FROM debian:buster-slim
2019-09-27 10:45:03 +02:00
COPY tmserver/ /opt/tmserver
2019-09-18 08:21:11 +02:00
COPY entrypoint-tmserver.sh /opt/tmserver/
2019-09-17 19:40:48 +02:00
RUN apt update \
2019-09-28 12:24:32 +02:00
&& apt install -y pwgen gettext-base xmlstarlet
2019-09-17 19:40:48 +02:00
2019-05-11 16:09:58 +02:00
RUN groupadd trackmania
RUN useradd -M -g trackmania trackmania
RUN chown -R trackmania:trackmania /opt/tmserver
USER trackmania
2019-09-17 19:40:48 +02:00
EXPOSE 5000
2019-09-27 10:45:03 +02:00
CMD ["/opt/tmserver/entrypoint-tmserver.sh"]