implement automatic shellcheck linting

This commit is contained in:
Christian Winther 2024-01-15 17:30:14 +00:00
parent fa10fe999e
commit 7f99bb1024

View file

@ -1,11 +1,20 @@
#!/bin/bash #!/bin/bash
set -ex -o errexit -o nounset -o pipefail set -ex -o errexit -o nounset -o pipefail
: "${PHP_PECL_EXTENSIONS:=""}" # shellcheck disable=SC2223
: "${PHP_PECL_EXTENSIONS_EXTRA:=""}" : ${PHP_PECL_EXTENSIONS:=""}
: "${PHP_EXTENSIONS:=""}"
: "${PHP_EXTENSIONS_EXTRA:=""}" # shellcheck disable=SC2223
: "${PHP_EXTENSIONS_DATABASE:=""}" : ${PHP_PECL_EXTENSIONS_EXTRA:=""}
# shellcheck disable=SC2223
: ${PHP_EXTENSIONS:=""}
# shellcheck disable=SC2223
: ${PHP_EXTENSIONS_EXTRA:=""}
# shellcheck disable=SC2223
: ${PHP_EXTENSIONS_DATABASE:=""}
# Grab the PHP source code so we can compile against it # Grab the PHP source code so we can compile against it
docker-php-source extract docker-php-source extract