add sourcebans, default image doesn't include it?
continuous-integration/drone Build is passing Details

This commit is contained in:
Philipp 2022-04-21 00:37:04 +02:00
parent 6ef41692a8
commit d2a182ed9b
Signed by: Gitea
GPG Key ID: 5A09F9506519E10A
1 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,7 @@ RUN \
&& wget -nv "https://gitlab.com/Zipcore/Discord/-/archive/master/Discord-master.zip" -O discord.zip \
&& wget -nv "https://github.com/eaasye/soapbalancer/raw/master/soapbalancer.smx" -O soapbalancer.smx \
&& wget -nv "https://forums.alliedmods.net/attachment.php?attachmentid=83286&d=1299423920" -O socket.zip \
&& wget -nv "https://github.com/sbpp/sourcebans-pp/releases/download/1.6.4/sourcebans-pp-1.6.4.plugin-only.tar.gz" -O sourcebans.tar.gz \
# install plugins
&& unzip -o system2.zip -d "${SERVER_DIR}/tf/addons/sourcemod/" \
&& unzip -o stac.zip -d "${SERVER_DIR}/tf/addons/sourcemod/" \
@ -20,8 +21,9 @@ RUN \
&& unzip -o discord.zip -d "${SERVER_DIR}/tf/addons/" \
&& mv soapbalancer.smx "${SERVER_DIR}/tf/addons/sourcemod/plugins/soapbalancer.smx" \
&& unzip -o socket.zip -d "${SERVER_DIR}/tf/" \
&& tar xf sourcebans.tar.gz -C "${SERVER_DIR}/tf/" \
# clean everything up
&& rm system2.zip stac.zip nativevotes.zip advertisements.tar.gz SteamWorks.tar.gz discord.zip socket.zip \
&& rm system2.zip stac.zip nativevotes.zip advertisements.tar.gz SteamWorks.tar.gz discord.zip socket.zip sourcebans.tar.gz \
&& rm "${SERVER_DIR}/tf/addons/sourcemod/plugins/admin-flatfile.smx"
COPY server.cfg.template "${SERVER_DIR}/tf/cfg/server.cfg.template"