Sign inSign up

nhalase/steamcmd

By nhalase

Updated about 2 years ago

A Docker image for running the linux SteamCMD binary. Fresh builds every 24-hours!

Image
0

1.7K

nhalase/steamcmd repository overview

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.

Tag summary

Content type

Image

Digest

sha256:b384aa83e

Size

264.6 MB

Last updated

about 2 years ago

docker pull nhalase/steamcmd