Download Quake on each boot instead of making a bloated image.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
eb7b8fe905
commit
6c117f2ea1
|
@ -1,9 +1,7 @@
|
||||||
FROM steamcmd/steamcmd:ubuntu
|
FROM steamcmd/steamcmd:ubuntu
|
||||||
|
|
||||||
WORKDIR /game
|
WORKDIR /game
|
||||||
RUN steamcmd +login anonymous +force_install_dir /game +app_update 349090 validate +exit
|
COPY start.sh /start.sh
|
||||||
|
|
||||||
COPY start.sh .
|
|
||||||
|
|
||||||
ENTRYPOINT [ "bash" ]
|
ENTRYPOINT [ "bash" ]
|
||||||
CMD [ "/game/start.sh" ]
|
CMD [ "/start.sh" ]
|
|
@ -28,4 +28,6 @@ services:
|
||||||
- HOSTNAME=JackNet
|
- HOSTNAME=JackNet
|
||||||
- PASSWORD=password123
|
- PASSWORD=password123
|
||||||
- RCON_PASSWORD=superSecurePassword
|
- 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.
|
2
start.sh
2
start.sh
|
@ -7,6 +7,8 @@ Password="${PASSWORD:-}"
|
||||||
RconPassword="${RCON_PASSWORD:-}"
|
RconPassword="${RCON_PASSWORD:-}"
|
||||||
StatsPassword="${STATS_PASSWORD:-}"
|
StatsPassword="${STATS_PASSWORD:-}"
|
||||||
|
|
||||||
|
steamcmd +login anonymous +force_install_dir /game +app_update 349090 validate +exit
|
||||||
|
|
||||||
/game/run_server_x64.sh \
|
/game/run_server_x64.sh \
|
||||||
+set net_strict 1 \
|
+set net_strict 1 \
|
||||||
+set net_port "${GamePort}" \
|
+set net_port "${GamePort}" \
|
||||||
|
|
Loading…
Reference in New Issue