cs2-server (1965b7f9)

Published 2026-04-22 22:42:55 +00:00 by opadmin

Installation

docker pull forgejo.espoautos.com/espoautos/cs2-server:1965b7f9
sha256:5800c6d1525f283db2287a5097bf2cd817a956b9ca5380afaefbc243078de3aa

About this package

CS2 Dedicated Server Docker Image

Image layers

ADD com.valvesoftware.SteamRuntime.Platform-amd64,i386-sniper-sysroot.tar.gz /
RUN mkdir -p /etc/sudoers.d && echo "Defaults !fqdn" > /etc/sudoers.d/flatdeb && echo "%sudo ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers.d/flatdeb && chmod 0440 /etc/sudoers.d/flatdeb
LABEL maintainer=joedwards32@gmail.com
ARG PUID=1000
ARG PGID=1000
ARG USER=steam
ARG HOMEDIR=/home/steam
ARG STEAMCMDDIR=/home/steam/steamcmd
RUN |5 PUID=1000 PGID=1000 USER=steam HOMEDIR=/home/steam STEAMCMDDIR=/home/steam/steamcmd /bin/sh -c set -x && apt-get update && apt-get install -y --no-install-recommends --no-install-suggests wget ca-certificates lib32z1 simpleproxy libicu-dev unzip jq && useradd -u "${PUID}" -m "${USER}" && mkdir -p "${STEAMCMDDIR}" && chown -R "${PUID}:${PGID}" "${HOMEDIR}" && apt-get clean && find /var/lib/apt/lists/ -type f -delete && su "${USER}" -c "curl -fsSL 'https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz' | tar xvzf - -C \"${STEAMCMDDIR}\" && \"./${STEAMCMDDIR}/steamcmd.sh\" +quit " # buildkit
ARG PUID=1000
ARG PGID=1000
ARG USER=steam
ARG HOMEDIR=/home/steam
ARG STEAMCMDDIR=/home/steam/steamcmd
ENV STEAMAPPID=730
ENV STEAMAPP=cs2
ENV STEAMCMDDIR=/home/steam/steamcmd
ENV STEAMAPPDIR=/home/steam/cs2-dedicated
ENV STEAMAPPVALIDATE=0
COPY etc/entry.sh /home/steam/entry.sh # buildkit
COPY etc/server.cfg /etc/server.cfg # buildkit
COPY etc/pre.sh /etc/pre.sh # buildkit
COPY etc/post.sh /etc/post.sh # buildkit
ENV CS2_SERVERNAME=cs2 private server CS2_CHEATS=0 CS2_IP=0.0.0.0 CS2_SERVER_HIBERNATE=0 CS2_PORT=27015 CS2_RCON_PORT= CS2_MAXPLAYERS=10 CS2_RCONPW=changeme CS2_MAPGROUP=mg_active CS2_STARTMAP=de_inferno CS2_GAMEALIAS= CS2_GAMETYPE=0 CS2_GAMEMODE=1 CS2_LAN=0 TV_AUTORECORD=0 TV_ENABLE=0 TV_PORT=27020 TV_PW=changeme TV_RELAY_PW=changeme TV_MAXRATE=0 TV_DELAY=0 SRCDS_TOKEN= CS2_CFG_URL= CS2_LOG=on CS2_LOG_FILE=0 CS2_LOG_ECHO=0 CS2_LOG_MONEY=0 CS2_LOG_DETAIL=0 CS2_LOG_ITEMS=0 CS2_DISCONNECT_KILLS=0 CS2_LOG_HTTP_URL= CS2_ADDITIONAL_ARGS=
RUN |5 PUID=1000 PGID=1000 USER=steam HOMEDIR=/home/steam STEAMCMDDIR=/home/steam/steamcmd /bin/sh -c set -x && mkdir -p "${STEAMAPPDIR}" && chmod +x "${HOMEDIR}/entry.sh" && chown -R "${PUID}:${PGID}" "${STEAMAPPDIR}" && chmod 0777 "${STEAMAPPDIR}" # buildkit
USER 1000:1000
WORKDIR /home/steam
CMD ["bash" "entry.sh"]
EXPOSE map[27015/tcp:{} 27015/udp:{} 27020/udp:{}]
LABEL maintainer=espoautos
LABEL org.opencontainers.image.source=https://forgejo.espoautos.com/espoautos/cs2-server
EXPOSE map[27015/udp:{}]
EXPOSE map[27015/tcp:{}]

Labels

Key Value
com.github.containers.toolbox true
com.github.debarshiray.toolbox true
maintainer espoautos
org.opencontainers.image.created 2026-04-19T06:53:07.201Z
org.opencontainers.image.description CS2 Dedicated Server Docker Image
org.opencontainers.image.licenses MIT
org.opencontainers.image.revision 96636e004ab9c75afbbf1cb8082f8f527b1427b3
org.opencontainers.image.source https://forgejo.espoautos.com/espoautos/cs2-server
org.opencontainers.image.title CS2
org.opencontainers.image.url https://github.com/joedwards32/CS2
org.opencontainers.image.version latest
os_release.bug_report_url https://github.com/ValveSoftware/steam-runtime/issues
os_release.build_id 3.0.20260316.216289
os_release.home_url https://store.steampowered.com/
os_release.id steamrt
os_release.id_like debian
os_release.name Steam Runtime
os_release.pretty_name Steam Runtime 3 (sniper)
os_release.support_url https://help.steampowered.com/
os_release.variant Platform
os_release.variant_id com.valvesoftware.steamruntime.platform-amd64_i386-sniper
os_release.version 3 (sniper)
os_release.version_codename sniper
os_release.version_id 3
Details
Container
2026-04-22 22:42:55 +00:00
0
OCI / Docker
linux/amd64
MIT
472 MiB
Versions (2) View all
1965b7f9 2026-04-22
latest 2026-04-22