Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xdebug version 3 has breaking changes. Forcing version to 2.7.1. #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM joomla:3.9.5-php7.1

LABEL version="1.1.0"
LABEL version="1.1.1"
LABEL description="Joomla development environment with Xdebug"

ENV XDEBUG_PORT 9000

RUN yes | pecl install xdebug \
RUN yes | pecl install xdebug-2.7.1 \
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
&& echo "xdebug.remote_enable=1" >> /usr/local/etc/php/conf.d/xdebug.ini \
&& echo "xdebug.remote_autostart=1" >> /usr/local/etc/php/conf.d/xdebug.ini \
Expand All @@ -24,4 +24,4 @@ RUN sed -i "s/ssl-cert-snakeoil.pem/server.crt/g" /etc/apache2/sites-available/d
&& sed -i "s/ssl-cert-snakeoil.key/server.key/g" /etc/apache2/sites-available/default-ssl.conf \
&& a2ensite default-ssl \
&& a2enmod ssl \
&& service apache2 restart
&& service apache2 restart