updated php to 8.4

This commit is contained in:
2026-09-20 00:46:18 +02:00
parent 2f9fdcea77
commit 0a45ff2d10
3 changed files with 7 additions and 11 deletions
+4 -9
View File
@@ -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 && \
+1 -1
View File
@@ -1,4 +1,4 @@
PS1='\e[36m\e[1mPHP-7.4\e[0m:\e[90m\w\e[0m\n$ '
PS1='\e[36m\e[1mPHP-8.4\e[0m:\e[90m\w\e[0m\n$ '
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'