One-command setup (SteamCMD + pinned, checksum-verified ReHLDS / ReGameDLL / Metamod-R / AMXX / ReAPI / ReUnion / CSDM-ReAPI / YaPB / GunGame), .env settings, ./cs menu (map, DM/GunGame mode, bots, kill counter, restart, update), own plugins (extras, rtv, mode switch), all-time kill counter, watchdog + nightly backup, docs for admins and players. Co-Authored-By: Claude Opus 5.5 <[email protected]>
12 lines
664 B
Docker
12 lines
664 B
Docker
# CS 1.6 dedicated server runtime + steamcmd. Game files live in ./hlds (bind mount).
|
|
# unzip/xz-utils: tools/install-addons.sh unpacks the pinned downloads inside this image,
|
|
# so the host only needs Docker, git and python3.
|
|
FROM debian:bookworm-slim
|
|
RUN dpkg --add-architecture i386 && apt-get update && \
|
|
apt-get install -y --no-install-recommends ca-certificates curl lib32gcc-s1 lib32stdc++6 libc6-i386 \
|
|
unzip xz-utils && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
RUN mkdir -p /opt/steamcmd && curl -sSL https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz | tar xz -C /opt/steamcmd && \
|
|
chmod -R a+rwX /opt/steamcmd
|
|
WORKDIR /cs/hlds
|