The script template-port-env-subst.sh uses a #!/bin/sh whereas explicit bash features are used for comparison if [[ ]].
During container startup, this cause the error below causing the docker part of the conditional to be unusable.
/docker-entrypoint.sh: Launching /docker-entrypoint.d/template-port-env-subst.sh
/docker-entrypoint.d/template-port-env-subst.sh: 12: /docker-entrypoint.d/template-port-env-subst.sh: [[: not found
/docker-entrypoint.d/template-port-env-subst.sh: 12: /docker-entrypoint.d/template-port-env-subst.sh: [[: not found
This fix enforces a bash shebang to prevent this issue.
The script template-port-env-subst.sh uses a
#!/bin/sh
whereas explicit bash features are used for comparisonif [[ ]]
.During container startup, this cause the error below causing the docker part of the conditional to be unusable.
This fix enforces a bash shebang to prevent this issue.