fixed xdebug

This commit is contained in:
2022-08-17 18:34:00 +02:00
parent 8983375db4
commit 5872e1d879
3 changed files with 49 additions and 18 deletions

View File

@@ -20,7 +20,9 @@ RUN apt-get update && apt-get install -y \
RUN apt-get install -y git vim
RUN pecl install redis-5.3.3 && \
pecl install xdebug-2.9.2 && \
docker-php-ext-enable redis
RUN pecl install xdebug-3.1.3 && \
docker-php-ext-enable redis xdebug
RUN export COMPOSER_HOME=/usr/local/composer && \
@@ -33,13 +35,6 @@ RUN export COMPOSER_HOME=/usr/local/composer && \
-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
RUN apt-get install -y rsyslog
COPY ./rsyslog-drupal.conf /etc/rsyslog.d/drupal.conf
# ENTRYPOINT ["sh", "-c", "service rsyslog start ; tail -f /dev/null"]