Merge pull request #1051 from ojhaujjwal/patch-1
fix php7.1-xdebug because of missing new line
This commit is contained in:
		@@ -133,7 +133,8 @@ ARG INSTALL_XDEBUG=false
 | 
			
		||||
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
 | 
			
		||||
    # Load the xdebug extension only with phpunit commands
 | 
			
		||||
    apt-get update && \
 | 
			
		||||
    apt-get install -y --force-yes php7.1-xdebug && \    sed -i 's/^;//g' /etc/php/7.1/cli/conf.d/20-xdebug.ini && \
 | 
			
		||||
    apt-get install -y --force-yes php7.1-xdebug && \
 | 
			
		||||
    sed -i 's/^;//g' /etc/php/7.1/cli/conf.d/20-xdebug.ini && \
 | 
			
		||||
    echo "alias phpunit='php -dzend_extension=xdebug.so /var/www/vendor/bin/phpunit'" >> ~/.bashrc \
 | 
			
		||||
;fi
 | 
			
		||||
# ADD for REMOTE debugging
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user