Download Quake on each boot instead of making a bloated image.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jack Hadrill 2022-07-28 01:23:41 +01:00
parent eb7b8fe905
commit 6c117f2ea1
3 changed files with 7 additions and 5 deletions

View File

@ -1,9 +1,7 @@
FROM steamcmd/steamcmd:ubuntu
WORKDIR /game
RUN steamcmd +login anonymous +force_install_dir /game +app_update 349090 validate +exit
COPY start.sh .
COPY start.sh /start.sh
ENTRYPOINT [ "bash" ]
CMD [ "/game/start.sh" ]
CMD [ "/start.sh" ]

View File

@ -28,4 +28,6 @@ services:
- HOSTNAME=JackNet
- PASSWORD=password123
- RCON_PASSWORD=superSecurePassword
```
```
Mount /game if you want some level of persistence. I haven't tried getting updates to work, so instead I just download from fresh on each boot.

View File

@ -7,6 +7,8 @@ Password="${PASSWORD:-}"
RconPassword="${RCON_PASSWORD:-}"
StatsPassword="${STATS_PASSWORD:-}"
steamcmd +login anonymous +force_install_dir /game +app_update 349090 validate +exit
/game/run_server_x64.sh \
+set net_strict 1 \
+set net_port "${GamePort}" \