Commit 59a22aed authored by Mahmoud Zalt's avatar Mahmoud Zalt Committed by GitHub

Merge pull request #270 from LarryEitel/add_apt-get_update_to_workspace_install_xdebug_block

fix workspace xdebug install bug - need to add apt-get update.
parents adfb5595 b42ad1ae
......@@ -49,6 +49,7 @@ ARG INSTALL_XDEBUG=true
ENV INSTALL_XDEBUG ${INSTALL_XDEBUG}
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
# Load the xdebug extension only with phpunit commands
apt-get update && \
apt-get install -y --force-yes php7.0-xdebug && \
sed -i 's/^/;/g' /etc/php/7.0/cli/conf.d/20-xdebug.ini && \
echo "alias phpunit='php -dzend_extension=xdebug.so /var/www/laravel/vendor/bin/phpunit'" >> ~/.bashrc \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment