updated php to 8.4
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM php:8.1-fpm-bullseye
|
||||
FROM php:8.4-fpm-bookworm
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
libfreetype6-dev \
|
||||
@@ -19,19 +19,14 @@ RUN apt-get update && apt-get install -y \
|
||||
docker-php-ext-install opcache && \
|
||||
docker-php-ext-install bcmath && \
|
||||
apt-get install -y git vim && \
|
||||
pecl install redis-5.3.7 && \
|
||||
pecl install xdebug-3.1.3 && \
|
||||
pecl install redis && \
|
||||
pecl install xdebug && \
|
||||
docker-php-ext-enable redis xdebug
|
||||
|
||||
RUN export COMPOSER_HOME=/usr/local/composer && \
|
||||
curl -sS https://getcomposer.org/installer \
|
||||
| php -- --install-dir=/usr/local/bin --filename=composer && \
|
||||
curl https://drupalconsole.com/installer \
|
||||
-L -o /usr/local/bin/drupal && \
|
||||
chmod +x /usr/local/bin/drupal && \
|
||||
curl https://github.com/drush-ops/drush-launcher/releases/download/0.6.0/drush.phar \
|
||||
-L -o /usr/local/bin/drush && \
|
||||
chmod +x /usr/local/bin/drush
|
||||
ln -sf /var/www/html/d8.materio.com/public_html/vendor/bin/drush /usr/local/bin/drush
|
||||
|
||||
# todo this is not building any more, do i really need this ? (22-10-2021)
|
||||
# RUN apt-get install -y curl && \
|
||||
|
||||
Reference in New Issue
Block a user