updates to autoupdate
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Successful in 12s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Successful in 22s
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / update-base-digest-cache (push) Successful in 10s
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Successful in 7s
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Successful in 6s

This commit is contained in:
2026-07-06 07:24:55 -07:00
parent e520d520a4
commit 22a917f77b
3 changed files with 35 additions and 1 deletions
+18
View File
@@ -12,6 +12,24 @@ CHANGELOG=/ts3server/CHANGELOG_$TS_VERSION
TS_FILES=https://gitea.fithwum.tech/fithwum/teamspeak-server/raw/branch/main/files
TS_SERVER=https://files.teamspeak-services.com/releases/server/$TS_VERSION/teamspeak3-server_linux_amd64-$TS_VERSION.tar.bz2
if [ "$ACCEPT_EULA" = "true" ]; then
echo "INFO ! Accepting EULA (one-time)"
sed -i 's/eula=false/eula=true/' "$EULA_FILE" 2>/dev/null \
|| echo "eula=true" > "$EULA_FILE"
touch "$EULA_MARKER"
elif [ "$ACCEPT_EULA" = "false" ]; then
echo "WARNING ! EULA not accepted on first run"
echo "WARNING ! Set ACCEPT_EULA=true to proceed"
sleep infinity
else
echo "ERROR ! ACCEPT_EULA must be set to true or false on first run"
sleep infinity
fi
# Main install (alpine).
# Check for files in /ts3server and download/create if needed.
if [ -e "$CHANGELOG" ]
+1
View File
@@ -1,6 +1,7 @@
FROM gitea.fithwum.tech/fithwum/debian-base:bookworm
LABEL maintainer="fithwum"
ENV AUTO_UPDATE="true"
ENV TS_VERSION=""
# URL's for files
+16 -1
View File
@@ -6,9 +6,24 @@
# echo " "
# echo "Checking server version from Teamspeak."
# TS_VERSION=$(curl -s "https://www.teamspeak.com/versions/server.json" | jq --raw-output '.linux.x86.version')
CHANGELOG=/ts3server/CHANGELOG_$TS_VERSION
# CHANGELOG=/ts3server/CHANGELOG_$TS_VERSION
# echo "Latest server version from Teamspeak:$TS_VERSION."
if [ "$AUTO_UPDATE" = "true" ]
then
echo "INFO ! Teamspeak will auto update to the latest version."
echo "Checking server version from Teamspeak."
TS_VERSION=$(curl -s "https://www.teamspeak.com/versions/server.json" | jq --raw-output '.linux.x86.version')
CHANGELOG=/ts3server/CHANGELOG_$TS_VERSION
echo "Latest server version from Teamspeak:$TS_VERSION."
elif [ "$AUTO_UPDATE" = "false" ]
then
echo "INFO ! The version you selected will be installed."
else
echo "ERROR ! ACCEPT_EULA must be set to true or false on first run"
sleep infinity
fi
TS_FILES=https://gitea.fithwum.tech/fithwum/teamspeak-server/raw/branch/main/files
TS_SERVER=https://files.teamspeak-services.com/releases/server/$TS_VERSION/teamspeak3-server_linux_amd64-$TS_VERSION.tar.bz2