Skip to content
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