From 3c4c71c65ca1563c47bcc4f644217f7b16f4c2ec Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Wed, 14 Feb 2018 22:29:54 +0100 Subject: [PATCH] Teamspeak-Server v3.1.0 Signed-off-by: Knut Ahlers --- Dockerfile | 6 +++--- docker-ts3.sh | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9822ecf..5420650 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,12 +2,12 @@ FROM debian LABEL maintainer Knut Ahlers -ENV TEAMSPEAK_VERSION=3.0.13.8 \ - TEAMSPEAK_SHA256=460c771bf58c9a49b4be2c677652f21896b98a021d7fff286e59679b3f987a59 +ENV TEAMSPEAK_VERSION=3.1.0 \ + TEAMSPEAK_SHA256=9f18cff600b9ce82a26ab788633cd5004bbe8c86963507efd3704c085f50a391 RUN set -ex \ && apt-get update \ - && apt-get install -y curl bzip2 --no-install-recommends \ + && apt-get install -y curl bzip2 ca-certificates --no-install-recommends \ && curl -sSfLo teamspeak3-server_linux-amd64.tar.bz2 \ http://dl.4players.de/ts/releases/${TEAMSPEAK_VERSION}/teamspeak3-server_linux_amd64-${TEAMSPEAK_VERSION}.tar.bz2 \ && echo "${TEAMSPEAK_SHA256} *teamspeak3-server_linux-amd64.tar.bz2" | sha256sum -c - \ diff --git a/docker-ts3.sh b/docker-ts3.sh index dc0733b..a69f1e4 100755 --- a/docker-ts3.sh +++ b/docker-ts3.sh @@ -3,6 +3,11 @@ set -euo pipefail VOLUME=/teamspeak3 +if [ -e "${VOLUME}/.ts3server_license_accepted" ]; then + echo "- Accepting license as you requested" + touch /opt/teamspeak3-server_linux_amd64/.ts3server_license_accepted +fi + echo "- Linking host mounted database..." ln -s $VOLUME/ts3server.sqlitedb /opt/teamspeak3-server_linux_amd64/ts3server.sqlitedb