|
@@ -1,4 +1,4 @@
|
|
-FROM php:7.4-fpm
|
|
|
|
|
|
+FROM php:8.1.20-fpm
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
RUN apt-get update && apt-get install -y \
|
|
libfreetype6-dev \
|
|
libfreetype6-dev \
|
|
@@ -22,25 +22,15 @@ RUN apt-get install -y git vim
|
|
RUN pecl install redis-5.3.3 && \
|
|
RUN pecl install redis-5.3.3 && \
|
|
docker-php-ext-enable redis
|
|
docker-php-ext-enable redis
|
|
|
|
|
|
-RUN pecl install xdebug-3.1.6 && \
|
|
|
|
|
|
+RUN pecl install xdebug-3.2.1 && \
|
|
docker-php-ext-enable xdebug
|
|
docker-php-ext-enable xdebug
|
|
|
|
|
|
RUN export COMPOSER_HOME=/usr/local/composer && \
|
|
RUN export COMPOSER_HOME=/usr/local/composer && \
|
|
curl -sS https://getcomposer.org/installer \
|
|
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
|
|
|
|
-
|
|
|
|
-# RUN apt-get install -y curl && \
|
|
|
|
-# curl -sL https://deb.nodesource.com/setup_11.x | bash - && \
|
|
|
|
-# curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
|
|
|
|
-# echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
|
|
|
|
-# apt-get update && \
|
|
|
|
-# apt-get install -y nodejs yarn
|
|
|
|
|
|
+ | php -- --install-dir=/usr/local/bin --filename=composer
|
|
|
|
+ # 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
|
|
|
|
|
|
RUN apt-get install -y rsyslog
|
|
RUN apt-get install -y rsyslog
|
|
COPY ./rsyslog-drupal.conf /etc/rsyslog.d/drupal.conf
|
|
COPY ./rsyslog-drupal.conf /etc/rsyslog.d/drupal.conf
|