Created
June 15, 2025 10:18
-
-
Save zImPatrick/bb1e1b14268564d75eb81cf5cbc3113d to your computer and use it in GitHub Desktop.
dockerfile & compose.yml for running a l4d2 server on arm64
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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