updates
This commit is contained in:
@@ -2,7 +2,7 @@ FROM alpine:latest
|
||||
LABEL maintainer "fithwum"
|
||||
|
||||
# URL's for files
|
||||
ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/teamspeak-server/master/alpine/files/Install_Script.sh
|
||||
ARG INSTALL_SCRIPT=https://gitlab.fithwum.tech/fithwum/teamspeak-server/-/raw/main/alpine/files/Install_Script.sh
|
||||
|
||||
# Install dependencies and folder creation
|
||||
RUN apk update && apk add --no-cache ca-certificates libstdc++ su-exec bash-completion tar \
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
# All rights reserved
|
||||
|
||||
# Variables.
|
||||
TS_FILES=https://gitlab.fithwum.tech/fithwum/teamspeak-server/-/raw/main/files
|
||||
echo " "
|
||||
echo "Checking for new server version from Teamspeak."
|
||||
wget --no-cache https://www.teamspeak.com/versions/server.json -O /ts3temp/server.json
|
||||
@@ -44,7 +45,7 @@ if [ -e /ts3server/ts3server_minimal_runscript.sh ]
|
||||
else
|
||||
echo " "
|
||||
echo "WARNING ! ts3server_minimal_runscript.sh not found ... will download now."
|
||||
wget --no-cache https://raw.githubusercontent.com/fithwum/teamspeak-server/master/files/ts3server_minimal_runscript.sh -O /ts3temp/inifiles/ts3server_minimal_runscript.sh
|
||||
wget --no-cache ${TS_FILES}/ts3server_minimal_runscript.sh -O /ts3temp/inifiles/ts3server_minimal_runscript.sh
|
||||
cp /ts3temp/inifiles/ts3server_minimal_runscript.sh /ts3server/
|
||||
rm -fr /ts3temp/ts3server_minimal_runscript.sh
|
||||
fi
|
||||
@@ -54,7 +55,7 @@ if [ -e /ts3server/ts3db_mariadb.ini ]
|
||||
else
|
||||
echo " "
|
||||
echo "WARNING ! ts3db_mariadb.ini not found ... will download now."
|
||||
wget --no-cache https://raw.githubusercontent.com/fithwum/teamspeak-server/master/files/ts3db_mariadb.ini -O /ts3temp/inifiles/ts3db_mariadb.ini
|
||||
wget --no-cache ${TS_FILES}/ts3db_mariadb.ini -O /ts3temp/inifiles/ts3db_mariadb.ini
|
||||
cp /ts3temp/inifiles/ts3db_mariadb.ini /ts3server/
|
||||
rm -fr /ts3temp/inifiles/ts3db_mariadb.ini
|
||||
fi
|
||||
@@ -64,7 +65,7 @@ if [ -e /ts3server/ts3server.ini ]
|
||||
else
|
||||
echo " "
|
||||
echo "WARNING ! ts3server.ini not found ... will download now."
|
||||
wget --no-cache https://raw.githubusercontent.com/fithwum/teamspeak-server/master/files/ts3server.ini -O /ts3temp/inifiles/ts3server.ini
|
||||
wget --no-cache ${TS_FILES}/ts3server.ini -O /ts3temp/inifiles/ts3server.ini
|
||||
cp /ts3temp/inifiles/ts3server.ini /ts3server/
|
||||
rm -fr /ts3temp/inifiles/ts3server.ini
|
||||
fi
|
||||
@@ -74,7 +75,7 @@ if [ -e /ts3server/.ts3server_license_accepted ]
|
||||
else
|
||||
echo " "
|
||||
echo "WARNING ! .ts3server_license_accepted not found ... will download now."
|
||||
wget --no-cache https://raw.githubusercontent.com/fithwum/teamspeak-server/master/files/.ts3server_license_accepted -O /ts3temp/.ts3server_license_accepted
|
||||
wget --no-cache ${TS_FILES}/.ts3server_license_accepted -O /ts3temp/.ts3server_license_accepted
|
||||
cp /ts3temp/.ts3server_license_accepted /ts3server/
|
||||
rm -fr /ts3temp/.ts3server_license_accepted
|
||||
fi
|
||||
|
||||
@@ -2,7 +2,7 @@ FROM fithwum/debian-base:bullseye
|
||||
LABEL maintainer "fithwum"
|
||||
|
||||
# URL's for files
|
||||
ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/teamspeak-server/master/basic/files/Install_Script.sh
|
||||
ARG INSTALL_SCRIPT=https://gitlab.fithwum.tech/fithwum/teamspeak-server/-/raw/main/basic/files/Install_Script.sh
|
||||
|
||||
# Install dependencies and folder creation
|
||||
RUN apt-get -y update && apt-get clean \
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
# All rights reserved
|
||||
|
||||
# Variables.
|
||||
TS_FILES=https://gitlab.fithwum.tech/fithwum/teamspeak-server/-/raw/main/files
|
||||
echo " "
|
||||
echo "Checking server version from Teamspeak."
|
||||
wget --no-cache https://www.teamspeak.com/versions/server.json -O /ts3temp/server.json
|
||||
@@ -44,7 +45,7 @@ if [ -e /ts3server/ts3server_minimal_runscript.sh ]
|
||||
else
|
||||
echo " "
|
||||
echo "WARNING ! ts3server_minimal_runscript.sh not found ... will download now."
|
||||
wget --no-cache https://raw.githubusercontent.com/fithwum/teamspeak-server/master/files/ts3server_minimal_runscript.sh -O /ts3temp/inifiles/ts3server_minimal_runscript.sh
|
||||
wget --no-cache ${TS_FILES}/ts3server_minimal_runscript.sh -O /ts3temp/inifiles/ts3server_minimal_runscript.sh
|
||||
cp /ts3temp/inifiles/ts3server_minimal_runscript.sh /ts3server/
|
||||
rm -fr /ts3temp/ts3server_minimal_runscript.sh
|
||||
fi
|
||||
@@ -54,7 +55,7 @@ if [ -e /ts3server/ts3server.ini ]
|
||||
else
|
||||
echo " "
|
||||
echo "WARNING ! ts3server.ini not found ... will download now."
|
||||
wget --no-cache https://raw.githubusercontent.com/fithwum/teamspeak-server/master/basic/files/ts3server.ini -O /ts3temp/inifiles/ts3server.ini
|
||||
wget --no-cache https://gitlab.fithwum.tech/fithwum/teamspeak-server/-/raw/main/basic/files/ts3server.ini -O /ts3temp/inifiles/ts3server.ini
|
||||
cp /ts3temp/inifiles/ts3server.ini /ts3server/
|
||||
rm -fr /ts3temp/inifiles/ts3server.ini
|
||||
fi
|
||||
@@ -64,7 +65,7 @@ if [ -e /ts3server/.ts3server_license_accepted ]
|
||||
else
|
||||
echo " "
|
||||
echo "WARNING ! .ts3server_license_accepted not found ... will download now."
|
||||
wget --no-cache https://raw.githubusercontent.com/fithwum/teamspeak-server/master/files/.ts3server_license_accepted -O /ts3temp/.ts3server_license_accepted
|
||||
wget --no-cache ${TS_FILES}/.ts3server_license_accepted -O /ts3temp/.ts3server_license_accepted
|
||||
cp /ts3temp/.ts3server_license_accepted /ts3server/
|
||||
rm -fr /ts3temp/.ts3server_license_accepted
|
||||
fi
|
||||
|
||||
9
build_base.sh
Executable file
9
build_base.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) 2023 fithwum
|
||||
# All rights reserved
|
||||
|
||||
docker build --pull --rm -f "alpine/Dockerfile" -t fithwum/teamspeak-server:alpine "alpine"
|
||||
sleep 5
|
||||
docker build --pull --rm -f "debian/Dockerfile" -t fithwum/teamspeak-server:debian "debian"
|
||||
sleep 5
|
||||
docker build --pull --rm -f "basic/Dockerfile" -t fithwum/teamspeak-server:basic "basic"
|
||||
2
debian/Dockerfile
vendored
2
debian/Dockerfile
vendored
@@ -2,7 +2,7 @@ FROM fithwum/debian-base:bullseye
|
||||
LABEL maintainer "fithwum"
|
||||
|
||||
# URL's for files
|
||||
ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/teamspeak-server/master/debian/files/Install_Script.sh
|
||||
ARG INSTALL_SCRIPT=https://gitlab.fithwum.tech/fithwum/teamspeak-server/-/raw/main/debian/files/Install_Script.sh
|
||||
|
||||
# Install dependencies and folder creation
|
||||
RUN apt-get -y update && apt-get clean \
|
||||
|
||||
9
debian/files/Install_Script.sh
vendored
9
debian/files/Install_Script.sh
vendored
@@ -3,6 +3,7 @@
|
||||
# All rights reserved
|
||||
|
||||
# Variables.
|
||||
TS_FILES=https://gitlab.fithwum.tech/fithwum/teamspeak-server/-/raw/main/files
|
||||
echo " "
|
||||
echo "Checking server version from Teamspeak."
|
||||
wget --no-cache https://www.teamspeak.com/versions/server.json -O /ts3temp/server.json
|
||||
@@ -44,7 +45,7 @@ if [ -e /ts3server/ts3server_minimal_runscript.sh ]
|
||||
else
|
||||
echo " "
|
||||
echo "WARNING ! ts3server_minimal_runscript.sh not found ... will download now."
|
||||
wget --no-cache https://raw.githubusercontent.com/fithwum/teamspeak-server/master/files/ts3server_minimal_runscript.sh -O /ts3temp/inifiles/ts3server_minimal_runscript.sh
|
||||
wget --no-cache ${TS_FILES}/ts3server_minimal_runscript.sh -O /ts3temp/inifiles/ts3server_minimal_runscript.sh
|
||||
cp /ts3temp/inifiles/ts3server_minimal_runscript.sh /ts3server/
|
||||
rm -fr /ts3temp/ts3server_minimal_runscript.sh
|
||||
fi
|
||||
@@ -54,7 +55,7 @@ if [ -e /ts3server/ts3db_mariadb.ini ]
|
||||
else
|
||||
echo " "
|
||||
echo "WARNING ! ts3db_mariadb.ini not found ... will download now."
|
||||
wget --no-cache https://raw.githubusercontent.com/fithwum/teamspeak-server/master/files/ts3db_mariadb.ini -O /ts3temp/inifiles/ts3db_mariadb.ini
|
||||
wget --no-cache ${TS_FILES}/ts3db_mariadb.ini -O /ts3temp/inifiles/ts3db_mariadb.ini
|
||||
cp /ts3temp/inifiles/ts3db_mariadb.ini /ts3server/
|
||||
rm -fr /ts3temp/inifiles/ts3db_mariadb.ini
|
||||
fi
|
||||
@@ -64,7 +65,7 @@ if [ -e /ts3server/ts3server.ini ]
|
||||
else
|
||||
echo " "
|
||||
echo "WARNING ! ts3server.ini not found ... will download now."
|
||||
wget --no-cache https://raw.githubusercontent.com/fithwum/teamspeak-server/master/files/ts3server.ini -O /ts3temp/inifiles/ts3server.ini
|
||||
wget --no-cache ${TS_FILES}/ts3server.ini -O /ts3temp/inifiles/ts3server.ini
|
||||
cp /ts3temp/inifiles/ts3server.ini /ts3server/
|
||||
rm -fr /ts3temp/inifiles/ts3server.ini
|
||||
fi
|
||||
@@ -74,7 +75,7 @@ if [ -e /ts3server/.ts3server_license_accepted ]
|
||||
else
|
||||
echo " "
|
||||
echo "WARNING ! .ts3server_license_accepted not found ... will download now."
|
||||
wget --no-cache https://raw.githubusercontent.com/fithwum/teamspeak-server/master/files/.ts3server_license_accepted -O /ts3temp/.ts3server_license_accepted
|
||||
wget --no-cache ${TS_FILES}/.ts3server_license_accepted -O /ts3temp/.ts3server_license_accepted
|
||||
cp /ts3temp/.ts3server_license_accepted /ts3server/
|
||||
rm -fr /ts3temp/.ts3server_license_accepted
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user