fix: docker-entrypoint.sh uses safe shebang

Shebangs should use /usr/bin/env to locate the interpreter. Setting a path directly to the interpreter itself tends to be brittle and prone to breaking.
This commit is contained in:
Samuel Rounce 2024-09-28 18:34:39 +01:00 committed by GitHub
parent c8cf7362fa
commit c5a7a10ca3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eo pipefail # exit on error, error on any fail in pipe (not just last cmd); add -x to print each cmd; see gist bash_strict_mode.md