Skip to content

Instantly share code, notes, and snippets.

@zImPatrick
Created June 15, 2025 10:18
Show Gist options
  • Save zImPatrick/bb1e1b14268564d75eb81cf5cbc3113d to your computer and use it in GitHub Desktop.
Save zImPatrick/bb1e1b14268564d75eb81cf5cbc3113d to your computer and use it in GitHub Desktop.
dockerfile & compose.yml for running a l4d2 server on arm64
services:
server:
build: .
command: ./game/srcds_run -nowatchdog +sv_password meow
volumes:
- ./cfg:/home/steam/steamcmd/game/left4dead2/cfg
ports:
- "27015:27015/udp"
- "27015:27015/tcp"
FROM ghcr.io/sonroyaalmerol/steamcmd-arm64
RUN ./steamcmd.sh +force_install_dir ./game +@sSteamCmdForcePlatformType windows +login anonymous +app_update 222860 validate +quit
RUN ./steamcmd.sh +force_install_dir ./game +@sSteamCmdForcePlatformType linux +login anonymous +app_update 222860 validate +quit
RUN sed -i -e 's/HL_CMD="$HL/HL_CMD="box86 $HL/' ./game/srcds_run
ENTRYPOINT ["./game/srcds_run"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment