Remove mcrypt as it does not support php 8.4.1

This commit is contained in:
Alex Tselegidis 2024-12-19 19:03:12 +02:00
parent 016bef8814
commit a6f78b16f9

View file

@ -1,4 +1,4 @@
FROM php:8.3-fpm FROM php:8.4-fpm
WORKDIR "/var/www/html" WORKDIR "/var/www/html"
@ -8,7 +8,7 @@ RUN apt-get update \
zip \ zip \
unzip \ unzip \
&& curl -sSL https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - | sh -s \ && curl -sSL https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - | sh -s \
curl gd intl ldap mbstring mysqli odbc pdo pdo_mysql soap sockets xml zip xdebug exif sqlite3 gettext bcmath csv event imap inotify mcrypt redis \ curl gd intl ldap mbstring mysqli odbc pdo pdo_mysql soap sockets xml zip xdebug exif sqlite3 gettext bcmath csv event imap inotify redis \
&& docker-php-ext-enable xdebug \ && docker-php-ext-enable xdebug \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& curl -sLS https://deb.nodesource.com/setup_18.x | bash - \ && curl -sLS https://deb.nodesource.com/setup_18.x | bash - \