5958af1b66
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Successful in 22s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Successful in 15s
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Successful in 24s
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Successful in 34s
Build and Push Teamspeak Images on Base Image Update / update-base-digest-cache (push) Successful in 9s
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Successful in 9s
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Successful in 9s
26 lines
820 B
Docker
26 lines
820 B
Docker
FROM alpine:latest
|
|
LABEL maintainer="fithwum"
|
|
|
|
ENV TS_VERSION=""
|
|
|
|
# URL's for files
|
|
ARG INSTALL_SCRIPT=https://gitea.fithwum.tech/fithwum/teamspeak-server/raw/branch/main/alpine/files/Install_Script.sh
|
|
|
|
# Install dependencies and folder creation
|
|
RUN apk update && apk add --no-cache wget nano ca-certificates libstdc++ su-exec bash-completion tar curl jq \
|
|
&& mkdir -p /ts3server /ts3temp /ts3temp/serverfiles \
|
|
&& chmod 777 -R /ts3server /ts3temp \
|
|
&& chown 99:100 -R /ts3server /ts3temp
|
|
|
|
RUN wget --no-cache "${INSTALL_SCRIPT}" -O /ts3temp/Install_Script.sh \
|
|
&& chmod +x /ts3temp/Install_Script.sh
|
|
|
|
# directory where data is stored
|
|
VOLUME /ts3server
|
|
|
|
# 9987 default voice, 10011 server query, 30033 file transport
|
|
EXPOSE 9987/udp 10011/tcp 30033/tcp
|
|
|
|
# Run command
|
|
CMD [ "/bin/sh", "/ts3temp/Install_Script.sh" ]
|