- Container no longer runs in root context, now switches to gameserv

user before launching server
- Removed supervisord dependancy
- Add (assumed) additional mod folders
This commit is contained in:
sairuk 2019-02-16 10:43:45 +11:00
parent 445f18bbc3
commit 01f57ef00a
10 changed files with 4 additions and 9 deletions

View file

@ -18,8 +18,6 @@ sudo unzip \
rsyslog \
# -- utilities
sed less vim file \
# -- supervisor
supervisor \
# --- wine
wine \
# -- display
@ -68,6 +66,8 @@ EXPOSE \
666/tcp \
28000/udp
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
CMD ["/usr/bin/supervisord","-c","/etc/supervisor/conf.d/supervisord.conf"]
USER ${SRVUSER}
WORKDIR /home/${SRVUSER}
CMD ["./start-server"]

View file

View file

View file

View file

View file

View file

View file

View file

@ -1,5 +0,0 @@
[supervisord]
nodaemon=true
[program:tribes2-server]
command=/bin/su - gameserv -c /home/gameserv/start-server