mirror of
https://github.com/luzifer-docker/terraria.git
synced 2024-11-08 12:40:02 +00:00
Update terraria-docker
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
44b76a1ff9
commit
c7583d894a
2 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
3
start.sh
3
start.sh
|
@ -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 "$@"
|
||||||
|
|
Loading…
Reference in a new issue