Skip to content

Commit b42ad1a

Browse files
committed
fix workspace xdebug install bug - need to add apt-get update.
1 parent adfb559 commit b42ad1a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

workspace/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ ARG INSTALL_XDEBUG=true
4949
ENV INSTALL_XDEBUG ${INSTALL_XDEBUG}
5050
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
5151
# Load the xdebug extension only with phpunit commands
52+
apt-get update && \
5253
apt-get install -y --force-yes php7.0-xdebug && \
5354
sed -i 's/^/;/g' /etc/php/7.0/cli/conf.d/20-xdebug.ini && \
5455
echo "alias phpunit='php -dzend_extension=xdebug.so /var/www/laravel/vendor/bin/phpunit'" >> ~/.bashrc \

0 commit comments

Comments
 (0)