2024-05-22 22:01:26 +02:00
|
|
|
FROM alpine:3.20
|
2024-04-30 09:00:39 +02:00
|
|
|
ARG TS3SERVER_VER=3.13.7
|
|
|
|
ARG USER=185
|
|
|
|
RUN apk add --no-cache ca-certificates gcompat libstdc++ && \
|
|
|
|
mkdir /app && \
|
|
|
|
wget -qO- https://files.teamspeak-services.com/releases/server/${TS3SERVER_VER}/teamspeak3-server_linux_amd64-${TS3SERVER_VER}.tar.bz2 | \
|
|
|
|
tar -jxf - -C /app --strip-components=1 && \
|
|
|
|
adduser -D -H -h /data -u $USER ts3 && mkdir /data && chown $USER:$USER /data
|
|
|
|
USER $USER
|
|
|
|
WORKDIR /data
|
|
|
|
ENTRYPOINT ["/app/ts3server"]
|