Skip to content

LacledesLAN/SteamCMD

Repository files navigation

SteamCMD Docker Image

SteamCMD in a Docker container. The project is maintained by Laclede's LAN. Source files are hosted on GitHub and public images are stored on Docker Hub.

Linux/amd64

linux/amd64

  • /app/ contains the SteamCMD binaries.
  • /output/ is a convenience directory for stashing SteamCMD downloaded content.
  • Image includes 7z, bzip2, curl, SteamCMD, tar, p7zip, unzip, wget, xz-utils.
  • See snippets.md for additional usage examples.

Download

docker pull lacledeslan/steamcmd:linux

Use as a Multi-Stage Builder

WARNING: In our experience Docker Cloud's automated builds doesn't reliably work when the builder container exceeds ~4GB.

FROM lacledeslan/steamcmd:linux as hl2dm-builder
RUN /app/steamcmd.sh +login anonymous +force_install_dir /output +app_update 232370 validate +quit;
FROM ...
COPY --from=hl2dm-builder /output /destination-path

Copy SteamCMD into a Container

Useful for overcoming cloud limitations.

FROM lacledeslan/steamcmd:linux as builder
FROM ...
COPY --from=builder /app /destination-steamcmd-directory

Use as a Containerized Application

Use this SteamCMD Docker container to install steam network content to your local hard drive.

mkdir ~/steamcmd-output

chmod +w ~/steamcmd-output

docker run -i --rm -v ~/steamcmd-output:/output lacledeslan/steamcmd:linux ./steamcmd.sh +login anonymous +force_install_dir /output +app_update 740 validate +quit

Run Automated Self-Tests

docker run --rm lacledeslan/steamcmd:linux /app/ll-tests/steamcmd.sh

Windows Image

Work in progress