File tree Expand file tree Collapse file tree
kubernetes/dedicated-servers/darkMessiah Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM cm2network/steamcmd:latest
22
3+ # Copiamos el script de arranque como root
34USER root
45WORKDIR /home/steam
56
6- # 2. Descarga el servidor dedicado (Windows)
7- RUN steamcmd +login anonymous \
8- +force_install_dir /home/steam/dm_srv \
9- +app_update 2145 validate \
10- +quit
7+ # Descarga el servidor dedicado Windows para Dark Messiah
8+ RUN /home/steam/steamcmd/steamcmd.sh \
9+ +@sSteamCmdForcePlatformType windows \
10+ +login anonymous \
11+ +force_install_dir /home/steam/dm_srv \
12+ +app_update 2145 validate \
13+ +quit
1114
12- # 3. Copia el script de arranque, asignándolo al usuario steam
15+ # Copiamos start.sh y se lo damos al usuario steam
1316COPY --chown=steam:steam start.sh .
1417
15- # 4. Volvemos a steam useer
18+ # Cambiamos al usuario steam y lanzamos
1619USER steam
17- ENTRYPOINT ["bash", "start.sh"]
20+ ENTRYPOINT ["bash", "start.sh"]
You can’t perform that action at this time.
0 commit comments