A Docker image for running the linux SteamCMD binary.
Fresh builds every 24-hours!
ubuntu
,latest
- will always follow the latest ubuntu LTSubuntu-22.04
- version locked to 22.04
lib32gcc-s1
ca-certificates
curl
tzdata
git
locales
gcc
libc-dev
# 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
# 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
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.