Install our own tf2rue version, base image has an outdated version
All checks were successful
ci/woodpecker/push/drone Pipeline was successful
ci/woodpecker/manual/drone Pipeline was successful

This commit is contained in:
Philipp 2025-01-22 12:55:02 +01:00 committed by Forgejo
parent 1e81020243
commit 5e980d83e4
Signed by: Forgejo
GPG key ID: 5A09F9506519E10A

View file

@ -13,10 +13,12 @@ RUN \
&& wget -nv "https://gitlab.com/Zipcore/Discord/-/raw/master/plugins/discord_sourcecomms.smx" -O discord_sourcecomms.smx \
&& wget -nv "https://github.com/eaasye/soapbalancer/raw/master/soapbalancer.smx" -O soapbalancer.smx \
&& wget -nv "https://github.com/JoinedSenses/sm-ext-socket/releases/download/v0.2/socket.ext.so" -O socket.ext.so \
&& wget -nv "https://github.com/sapphonie/tf2rue/releases/download/v0.0.11/tf2rue.zip" -O tf2rue.zip \
# install plugins
&& unzip -o system2.zip -d "${SERVER_DIR}/tf/addons/sourcemod/" \
&& unzip -o stac.zip -d "${SERVER_DIR}/tf/addons/sourcemod/" \
&& unzip -o nativevotes.zip -d "${SERVER_DIR}/tf/" \
&& unzip -o tf2rue.zip -d "${SERVER_DIR}/tf/addons/sourcemod/" \
&& tar xf advertisements.tar.gz -C "${SERVER_DIR}/tf/" \
&& tar xf SteamWorks.tar.gz -C "${SERVER_DIR}/tf/" \
&& mv discord.smx "${SERVER_DIR}/tf/addons/sourcemod/plugins/discord.smx" \
@ -25,7 +27,7 @@ RUN \
&& mv soapbalancer.smx "${SERVER_DIR}/tf/addons/sourcemod/plugins/soapbalancer.smx" \
&& mv socket.ext.so "${SERVER_DIR}/tf/addons/sourcemod/extensions/" \
# clean everything up
&& rm "${SERVER_DIR}/tf/addons/sourcemod/plugins/admin-flatfile.smx"
&& rm "${SERVER_DIR}/tf/addons/sourcemod/plugins/admin-flatfile.smx" "system2.zip" "stac.zip" "nativevotes.zip" "tf2rue.zip"
COPY server.cfg.template "${SERVER_DIR}/tf/cfg/server.cfg.template"
COPY mapcycle.txt "${SERVER_DIR}/tf/cfg/mapcycle.txt"