A base Docker image for Valve's SteamCMD.
1.6K
A base Docker image for Valve's SteamCMDā based on Debianā (bookworm-slim).
This image can be considered a fork of CM2Walkiā 's steamcmdā image with some modifications and fixes:
gameserver folder (located in /home/steam) has been added to keep all server files instead of using a different folder for each game.steamclient.so library has been fixed by creating a symbolic link to the corresponding file.setlocale function has been fixed by installing and configuring the missing package.Whilst this image should be used as a base image for any supported SteamCMD game server, it can also be used directly for testing purposes.
Example 1:
Create a new container and get access to the SteamCMD console:
docker run --name steamcmd -it k4rian/steamcmd
Example 2:
Create a ephemeral container and use SteamCMD to download the Left 4 Dead 2 Dedicated Server files in the current directory then quit:
docker run --rm \
-v $(pwd):/home/steam/gameserver \
k4rian/steamcmd \
+force_install_dir /home/steam/gameserver \
+login anonymous \
+app_update 222860 \
+quit
Requirements:
ā Docker >= 18.03.1
ā Git (optional)
Like any Docker image the building process is pretty straightforward:
git clone https://github.com/K4rian/docker-steamcmd.git .
docker build --no-cache -f Dockerfile -t k4rian/steamcmd:latest .
docker build --no-cache -f min.Dockerfile -t k4rian/steamcmd:min .
Content type
Image
Digest
sha256:29b934298ā¦
Size
44.5 MB
Last updated
over 2 years ago
docker pull k4rian/steamcmd