docker-sshd
docker-sshd copied to clipboard
scripts in /etc/entrypoint.d are not executed
the executable test in
if [[ -x ${f} ]]; then
echo ">> Running: ${f}"
${f}
fi
is not passing on files with 755 permissions set this could be a bug in musl libc
changing to
if [[ -f ${f} ]]; then
echo ">> Running: ${f}"
${f}
fi
is the workaround we adopted
It seems as though Alpine 3.14 is pertinent to a known bug here.
https://unix.stackexchange.com/questions/671246/why-is-bash-not-evaluating-the-executable-bit-correctly-in-alpine-3-14-2
Please reopen if this continues with the latest 3.18 builds.