diff --git a/14.0/entrypoint.sh b/14.0/entrypoint.sh index f802bcb25..29913df1c 100755 --- a/14.0/entrypoint.sh +++ b/14.0/entrypoint.sh @@ -2,6 +2,10 @@ set -e +if [ -v USER_FILE ]; then + USER="$(< $USER_FILE)" +fi + if [ -v PASSWORD_FILE ]; then PASSWORD="$(< $PASSWORD_FILE)" fi diff --git a/15.0/entrypoint.sh b/15.0/entrypoint.sh index f802bcb25..29913df1c 100755 --- a/15.0/entrypoint.sh +++ b/15.0/entrypoint.sh @@ -2,6 +2,10 @@ set -e +if [ -v USER_FILE ]; then + USER="$(< $USER_FILE)" +fi + if [ -v PASSWORD_FILE ]; then PASSWORD="$(< $PASSWORD_FILE)" fi diff --git a/16.0/entrypoint.sh b/16.0/entrypoint.sh index f802bcb25..29913df1c 100755 --- a/16.0/entrypoint.sh +++ b/16.0/entrypoint.sh @@ -2,6 +2,10 @@ set -e +if [ -v USER_FILE ]; then + USER="$(< $USER_FILE)" +fi + if [ -v PASSWORD_FILE ]; then PASSWORD="$(< $PASSWORD_FILE)" fi