We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c5ec9f0 + 2b29075 commit 3df094bCopy full SHA for 3df094b
Dockerfile.base
@@ -47,10 +47,13 @@ RUN <<EOF
47
php-${PHP_VERSION}-soap \
48
php-${PHP_VERSION}-zip \
49
php-${PHP_VERSION}-sodium \
50
- php-${PHP_VERSION}-opcache \
51
php-${PHP_VERSION}-redis \
52
php-${PHP_VERSION}-amqp
53
+ if [ "$(printf '%s\n' "8.5" "${PHP_VERSION}" | sort -V | head -n1)" != "8.5" ]; then
54
+ apk add --no-cache php-${PHP_VERSION}-opcache
55
+ fi
56
+
57
apk add --no-cache gettext
58
cp /usr/bin/envsubst /envsubst
59
apk del gettext
0 commit comments