diff --git a/Dockerfile b/Dockerfile index ff736d7..2073eb4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM node:6.2.2 -ENV TS3CLIENT_VERSION 3.0.19.3 -ENV TS3BOT_COMMIT 4ab1de5a5e5f969982b114713cac35265fda6ef0 +ARG TS3CLIENT_VERSION=3.0.19.4 +ARG TS3BOT_COMMIT=4ab1de5a5e5f969982b114713cac35265fda6ef0 # Add "app" user RUN mkdir -p /tmp/empty &&\ diff --git a/setup.sh b/setup.sh index f0223a9..4b3dc3e 100644 --- a/setup.sh +++ b/setup.sh @@ -23,7 +23,7 @@ ln -sf /config ~app/.ts3bot # Original comment that used to be here: temporary non-interactive teamspeak3 install hack, remove before publishing!! # In fact, it would be nice if we had some lazy handling code for this that just requires the user to provide a "--agree-with-license" once. cd ~app -wget http://dl.4players.de/ts/releases/${TS3CLIENT_VERSION}/TeamSpeak3-Client-linux_amd64-${TS3CLIENT_VERSION}.run -Ots3client.run +wget "http://teamspeak.gameserver.gamed.de/ts3/releases/${TS3CLIENT_VERSION}/TeamSpeak3-Client-linux_amd64-${TS3CLIENT_VERSION}.run" -Ots3client.run chmod +x ./ts3client.run sed -i 's/^MS_PrintLicense$/#MS_PrintLicense/g' ./ts3client.run ./ts3client.run --quiet --target ts3client