We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff4e4f3 commit 74484c3Copy full SHA for 74484c3
bin/generate.sh
@@ -1,5 +1,4 @@
1
#!/usr/bin/env bash
2
-
3
#
4
# Generates Dockerfiles for specified PHP versions
5
@@ -12,9 +11,12 @@ php_versions=( "8.1" "8.0" "7.4" "7.2" )
12
11
# final source image will be generated as follow: php:7.2-cli, php:7-2-apache and php:7.2-fpm
13
php_docker_suffix=( "cli" "apache" "fpm" )
14
+# Enforce associative handling of the array to avoid arithmetic errors
15
+# May not be supported by all shells flavors or their older versions
16
+declare -A xdebug_versions
17
+
18
# Map of xdebug versions for PHP images
19
# PHP_VERSION => XDEBUG_VERSION
-declare -A xdebug_versions
20
xdebug_versions=(
21
["8.1"]="xdebug-3.1.3"
22
["8.0"]="xdebug-3.1.3"
0 commit comments