Skip to content

Commit 99070f7

Browse files
committed
make SRVPATH modifiable
1 parent e526ca4 commit 99070f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dockerfile.native

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ RUN mkdir -p "${STEAMPATH}" "${SRVPATH}" && cd "${STEAMPATH}" && \
1414

1515
USER root
1616
CMD chown -R 5k:5k "${SRVPATH}" && su 5k -c' \
17-
"${STEAMPATH}/steamcmd.sh" @ShutdownOnFailedCommand @NoPromptForPassword +login anonymous +app_update ${APPID} +quit && \
17+
"${STEAMPATH}/steamcmd.sh" @ShutdownOnFailedCommand @NoPromptForPassword +force_install_dir ${SRVPATH} +login anonymous +app_update ${APPID} +quit && \
1818
cd "${SRVPATH}" && ./LinuxServer/PandemicServer.sh ${ARGS}'

dockerfile.wine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ ENV STARTENV="WINEDLLOVERRIDES=dwmapi=native,builtin"
2424
ENV STARTCMD="xvfb-run wine ./WindowsServer/PandemicServer.exe"
2525

2626
CMD chown -R 5k:5k "${SRVPATH}" && su 5k -c' \
27-
"${STEAMPATH}/steamcmd.sh" @ShutdownOnFailedCommand @NoPromptForPassword +@sSteamCmdForcePlatformType windows +login anonymous +app_update ${APPID} +quit && \
27+
"${STEAMPATH}/steamcmd.sh" @ShutdownOnFailedCommand @NoPromptForPassword +@sSteamCmdForcePlatformType windows +force_install_dir ${SRVPATH} +login anonymous +app_update ${APPID} +quit && \
2828
cd "${SRVPATH}" && if [ -n "${STARTENV}" ]; then export ${STARTENV} && ${STARTCMD} ${ARGS}; else ${STARTCMD} ${ARGS}; fi'

0 commit comments

Comments
 (0)