/steamcmd-minimal

Linux based Docker image containing the minimum requirements for running Steam CMD. Use as a base for other images.

Primary LanguageDockerfileOtherNOASSERTION

Steam CMD - Minimal

Disclaimer

Note: This image is not officially supported by Valve.

If issues are encountered, please report them on the GitHub repository

Badges

Docker Image Version (latest by date) Docker Image Size (latest by date) Docker Pulls

Description

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!

Links

Source:

Resource links:

Instructions

Docker

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.

  1. Create a Dockerfile with the following contents:

    FROM docker.io/renegademaster/steamcmd-minimal:<tag>
    
    # Add your own instructions here
  2. 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"]