Skip to content

Commit 99aace4

Browse files
committed
chore: 🔧 update PHP version to 8.4.15
* Bumped the PHP version from 8.4.14 to 8.4.15 in the Dockerfile. * Removed opcache installation and enabling from the Dockerfile. * Conditional installation of opcache remains for PHP versions below 8.5.0. * This change ensures compatibility with PHP versions below 8.5.0.
1 parent 62306fa commit 99aace4

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG PHP_VERSION=8.4.14
1+
ARG PHP_VERSION=8.4.15
22

33
FROM php:${PHP_VERSION}-fpm-alpine
44
LABEL maintainer="Milos Svasek <[email protected]>" \
@@ -9,8 +9,9 @@ RUN apk add --no-cache --update tzdata libintl libcurl libzip freetype libpng li
99
linux-headers curl-dev freetype-dev libpng-dev libjpeg-turbo-dev zlib-dev libzip-dev gettext-dev && \
1010
docker-php-ext-configure gd --with-freetype --with-jpeg && \
1111
docker-php-ext-install -j$(nproc) gd && \
12-
docker-php-ext-install -j$(nproc) curl mysqli opcache pdo pdo_mysql gettext exif sockets zip && \
13-
docker-php-ext-enable curl mysqli opcache pdo pdo_mysql gettext exif sockets zip gd && \
12+
docker-php-ext-install -j$(nproc) curl mysqli pdo pdo_mysql gettext exif sockets zip && \
13+
docker-php-ext-enable curl mysqli pdo pdo_mysql gettext exif sockets zip gd && \
14+
if [[ "${PHP_VERSION}" < "8.5.0" ]]; then docker-php-ext-install -j$(nproc) opcache; docker-php-ext-enable opcache; fi && \
1415
apk del linux-headers curl-dev freetype-dev libpng-dev libjpeg-turbo-dev zlib-dev libzip-dev gettext-dev && \
1516
docker-php-source delete && \
1617
rm -rf /var/cache/apk/*

0 commit comments

Comments
 (0)