aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrodokk <brodokk@brodokk.space>2021-11-17 00:26:52 +0100
committerbrodokk <brodokk@brodokk.space>2021-11-17 00:26:52 +0100
commitc8673ea34867ac9ab6e77e261b557c0c89cfc8b0 (patch)
tree749bc0d77d3e7e1123cfcce11255c33ebee7e84e
parentea898a547496467a376b31db2fc7dd35cc8f40df (diff)
downloadneosvr_docker-c8673ea34867ac9ab6e77e261b557c0c89cfc8b0.tar.xz
neosvr_docker-c8673ea34867ac9ab6e77e261b557c0c89cfc8b0.zip
Update env var
Diffstat (limited to '')
-rw-r--r--Dockerfile12
-rw-r--r--entrypoint.sh6
2 files changed, 9 insertions, 9 deletions
diff --git a/Dockerfile b/Dockerfile
index bd75be9..3925c4d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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