Update terraria-docker

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-07-06 18:24:31 +02:00
parent 44b76a1ff9
commit c7583d894a
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 2 additions and 3 deletions

View file

@ -3,7 +3,7 @@ FROM debian:stretch
ENV TERRARIA_VERISON=1353 \ ENV TERRARIA_VERISON=1353 \
DUMB_INIT_VERSION=1.2.1 \ DUMB_INIT_VERSION=1.2.1 \
GOSU_VERSION=1.10 \ GOSU_VERSION=1.10 \
TERRARIA_DOCKER_VERSION=v0.1.0 \ TERRARIA_DOCKER_VERSION=v0.2.0 \
HOME=/home/gameserver \ HOME=/home/gameserver \
SERVER=/home/gameserver/terraria SERVER=/home/gameserver/terraria

View file

@ -16,6 +16,5 @@ chown -R gameserver:gameserver /data
# Cleanup fifo if already exists # Cleanup fifo if already exists
[ -e /home/gameserver/terraria_cmd ] && rm -f /home/gameserver/terraria_cmd [ -e /home/gameserver/terraria_cmd ] && rm -f /home/gameserver/terraria_cmd
exec terraria-docker_linux_amd64 | /usr/local/bin/gosu \ exec /usr/local/bin/gosu gameserver terraria-docker -- \
gameserver \
${SERVER_BINARY} -config /data/config.ini "$@" ${SERVER_BINARY} -config /data/config.ini "$@"