Skip to content

A Docker image for running the linux SteamCMD binary.

License

Notifications You must be signed in to change notification settings

nhalase/steamcmd

Repository files navigation

Build Status Docker Pulls Image Size

SteamCMD

A Docker image for running the linux SteamCMD binary.

Fresh builds every 24-hours!

Tags

Dependencies

lib32gcc-s1
ca-certificates
curl
tzdata
git
locales
gcc
libc-dev

Usage

# pull latest image
docker pull nhalase/steamcmd:latest

# download/update CS:GO
docker run -it nhalase/steamcmd:latest +login anonymous +app_update 740 +quit

# use interactively
docker run -it --rm --entrypoint /bin/bash nhalase/steamcmd:latest

Environment Variables

# avoid using ids less than 10000 by default to prevent volume mapping issues with host uids
# note: if you provide different values, the entrypoint script will update the steam user uid/gid
UID=10000
GID=10001
# this image uses the tzdata, so providing a TZ env var is good enough to change the container timezone
TZ=UTC

Explanation

The ENTRYPOINT script utilizes su-exec to run steamcmd as the steam user with pid 1. Before dropping down to the steam user, the entrypoint script will update the steam user uid/gid if necessary.

About

A Docker image for running the linux SteamCMD binary.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages