-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from joedwards32/rcon_indirection
Add support for RCON TCP proxy using simpleproxy.
- Loading branch information
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
########################################################### | ||
# Dockerfile that builds a CS2 Gameserver | ||
########################################################### | ||
|
||
# BUILD STAGE | ||
|
||
FROM cm2network/steamcmd:root as build_stage | ||
|
||
LABEL maintainer="[email protected]" | ||
|
@@ -23,18 +26,23 @@ RUN set -x \ | |
wget \ | ||
ca-certificates \ | ||
lib32z1 \ | ||
simpleproxy \ | ||
&& mkdir -p "${STEAMAPPDIR}" \ | ||
# Add entry script | ||
&& chmod +x "${HOMEDIR}/entry.sh" \ | ||
&& chown -R "${USER}:${USER}" "${HOMEDIR}/entry.sh" "${STEAMAPPDIR}" \ | ||
# Clean up | ||
&& rm -rf /var/lib/apt/lists/* | ||
&& apt-get clean \ | ||
&& find /var/lib/apt/lists/ -type f -delete | ||
|
||
# BASE | ||
|
||
FROM build_stage AS bullseye-base | ||
|
||
ENV CS2_SERVERNAME="cs2 private server" \ | ||
CS2_IP=0.0.0.0 \ | ||
CS2_PORT=27015 \ | ||
CS2_RCON_PORT="" \ | ||
CS2_MAXPLAYERS=10 \ | ||
CS2_RCONPW="changeme" \ | ||
CS2_PW="changeme" \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters