diff options
Diffstat (limited to '')
-rw-r--r-- | Dockerfile | 12 | ||||
-rw-r--r-- | entrypoint.sh | 6 |
2 files changed, 9 insertions, 9 deletions
@@ -10,15 +10,15 @@ ENV GID ${GROUP:-1000} ARG INSTALL_APPS ENV INSTALL_APPS ${INSTALL_APPS:-"740250"} # Id of the app who will be launched -ARG LAUNCH_APP -ENV LAUNCH_APP ${LAUNCH_APP:-"740250"} +ARG STEAM_LAUNCH_APP +ENV STEAM_LAUNCH_APP ${STEAM_LAUNCH_APP:-"740250"} # Steam credentials -ENV LOGIN ${LOGIN:-"anonymous"} -ENV PASSWORD ${PASSWORD:-""} +ENV STEAM_USER ${STEAM_USER:-"anonymous"} +ENV STEAM_PWD ${STEAM_PWD:-""} # Beta keys -ENV BETA_NAME ${BETA_NAME:-"headless-client"} -ENV BETA_KEY ${BETA_KEY:-""} +ENV STEAM_BETA_NAME ${STEAM_BETA_NAME:-"headless-client"} +ENV STEAM_BETA_KEY ${STEAM_BETA_KEY:-""} RUN echo steam steam/question select "I AGREE" | debconf-set-selections && \ echo steam steam/license note '' | debconf-set-selections diff --git a/entrypoint.sh b/entrypoint.sh index 0c9d612..e4c1b80 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -35,9 +35,9 @@ case "$arguments" in /bin/sh -c "$arguments";; *) echo "Cleaning old stuff..." - find /steam/${LAUNCH_APP}/Data/Assets -atime +7 -delete - find /steam/${LAUNCH_APP}/Data/Cache -atime +7 -delete + find /steam/${STEAM_LAUNCH_APP}/Data/Assets -atime +7 -delete + find /steam/${STEAM_LAUNCH_APP}/Data/Cache -atime +7 -delete find /Logs -atime +30 -delete echo "Run NeosVR headless client..." - cd /steam/${LAUNCH_APP}/ && mono Neos.exe -l /logs;; + cd /steam/${STEAM_LAUNCH_APP}/ && mono Neos.exe -l /logs;; esac |