Skip to content

Commit

Permalink
Disabled check of user login shell for now, see alpinelinux/docker-al…
Browse files Browse the repository at this point in the history
  • Loading branch information
starwarsfan committed Apr 6, 2022
1 parent 240c3ca commit ceb024a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down

0 comments on commit ceb024a

Please sign in to comment.