Note: This image is not officially supported by Valve.
If issues are encountered, please report them on the GitHub repository
Docker image containing the latest Steam CMD Linux Binary. Use as a base for other images.
Built from scratch to be the smallest Steam CMD Docker image around!
Source:
Resource links:
The following are instructions for including this image as the base image for the Steam Dedicated Server that you can create based on this image.
Note: To make calling Steam CMD easier, the binary location can be accessed via the STEAM_PATH
environment
variable.
-
Create a Dockerfile with the following contents:
FROM docker.io/renegademaster/steamcmd-minimal:<tag> # Add your own instructions here
-
You can then install a game server in one of several ways:
-
Install the game by adding additional Docker
RUN
instructions to the Dockerfile:FROM docker.io/renegademaster/steamcmd-minimal:<tag> # Download the Satisfactory Dedicated Server RUN steamcmd.sh +login anonymous +app_update 1690800 validate +quit
-
Alternatively, you can create a Steam CMD script and copy it into the
/home/steam
directory. This script can then be run when the container is started:FROM docker.io/renegademaster/steamcmd-minimal:<tag> # Copy the steamcmd script into the container COPY install.scmd /home/steam/install.scmd # Run the steamcmd script ENTRYPOINT steamcmd.sh +runscript install.scmd
-
Lastly, you can always create a Shell Script and copy it into the container to handle running more complex commands:
FROM docker.io/renegademaster/steamcmd-minimal:<tag> # Copy the steamcmd script into the container COPY setup_script.sh /home/steam/setup_script.sh # Run the steamcmd script ENTRYPOINT ["/bin/bash", "/home/steam/setup_script.sh"]
-