From ceb024a766b5c249d9bcb4f98d221376cdee35d1 Mon Sep 17 00:00:00 2001 From: Yves Schumann Date: Wed, 6 Apr 2022 23:58:46 +0200 Subject: [PATCH] Disabled check of user login shell for now, see https://github.com/alpinelinux/docker-alpine/issues/156 --- entrypoint.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 7e2c089..93f1f4f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -103,10 +103,12 @@ printf "\n" log "Applying configuration for additional users ..." -if [[ ! -x "${USER_LOGIN_SHELL}" ]]; then - log "error" " can not allocate desired shell '${USER_LOGIN_SHELL}', falling back to '${USER_LOGIN_SHELL_FALLBACK}' ..." - USER_LOGIN_SHELL="${USER_LOGIN_SHELL_FALLBACK}" -fi +# Currently not working, see https://github.com/alpinelinux/docker-alpine/issues/156 +#if [[ ! -x "${USER_LOGIN_SHELL}" ]]; then +# log "error" " can not allocate desired shell '${USER_LOGIN_SHELL}', falling back to '${USER_LOGIN_SHELL_FALLBACK}' ..." +# USER_LOGIN_SHELL="${USER_LOGIN_SHELL_FALLBACK}" +#fi +USER_LOGIN_SHELL=${USER_LOGIN_SHELL:-/bin/zsh} log " desired shell is ${USER_LOGIN_SHELL}"