Skip to content
Snippets Groups Projects
Commit 4da48bdc authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

add php 8.5

parent ec36691c
Branches main
No related tags found
No related merge requests found
FROM php:8.5.0alpha1-fpm-bullseye
# Install system requirements
RUN apt update \
&& apt upgrade -y \
&& apt install -y --no-install-recommends \
ca-certificates \
default-mysql-client \
default-libmysqlclient-dev \
git \
imagemagick ghostscript \
zlib1g-dev \
libjpeg-dev \
libpng-dev \
libpq-dev \
libwebp-dev \
libonig-dev \
libzip-dev \
libicu-dev \
libfreetype6-dev \
libxslt-dev \
libxml2-dev \
locales \
libmemcached11 libmemcachedutil2 build-essential libmemcached-dev libz-dev \
# Install locales
&& sed -i -e 's/# en_GB.UTF-8 UTF-8/en_GB.UTF-8 UTF-8/' /etc/locale.gen \
&& sed -i -e 's/# de_DE.UTF-8 UTF-8/de_DE.UTF-8 UTF-8/' /etc/locale.gen \
&& dpkg-reconfigure --frontend=noninteractive locales \
&& update-locale \
# Install php extensions
&& docker-php-ext-configure gd --with-jpeg --with-freetype --with-webp \
&& docker-php-ext-install -j$(nproc) gd gettext intl mysqli opcache pdo_mysql pdo_pgsql soap xsl zip \
# && pecl install memcached redis xdebug \
# && docker-php-ext-enable memcached redis xdebug \
&& pecl install memcached redis \
&& docker-php-ext-enable memcached redis \
# Cleanup
&& docker-php-source delete \
&& apt-get autoremove --purge -y \
&& apt-get autoclean -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/* \
&& pecl clear-cache \
# Enable PS in gs
&& sed -r -i_bak 's/rights="none" pattern="([EX]?PS[23]*|PDF)"/rights="read | write" pattern="\1"/' \
/etc/ImageMagick-6/policy.xml
......@@ -12,6 +12,7 @@ final class SupportedPHPVersions
'8.2' => [8082, 8882],
'8.3' => [8083, 8883],
'8.4' => [8084, 8884],
'8.5' => [8085, 8885],
];
private const DEFAULT = ['7.4', '8.1', '8.3'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment