You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: base/generate_tags.sh
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,21 @@ generate_image()
49
49
s/'"${before}"'/'"${after}"'/
50
50
' images/$folder/Dockerfile
51
51
fi
52
+
if [[ $version=*"8.1"*||$version=*"8.2"*||$version=*"8.3"*||$version=*"8.4"*||$version=*"8.5"* ]];then
53
+
local before="FROM php:${version}"
54
+
local after="# Debian Trixie provides a package of the MySQL client that prevent the connexion to succeed for SSL reasons\n# We stick to Bookworm until we find the solution\nFROM php:${version}-bookworm"
55
+
sed -i '
56
+
s/'"${before}"'/'"${after}"'/
57
+
' images/$folder/Dockerfile
58
+
59
+
if [[ $version=*"8.5"* ]];then
60
+
## -z is used for final line break
61
+
local before=' && if \[ -d \"\/usr\/src\/php\/ext\/opcache\" \]; then docker-php-ext-install opcache; fi \\\n'
0 commit comments