From 41533529469c17f9a4a82f2764ff461aececfa79 Mon Sep 17 00:00:00 2001 From: Andrew Holgate Date: Wed, 4 May 2016 09:08:13 +0200 Subject: [PATCH] Fix to install PHP AST correctly --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0b34530..19289ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -y install python-sphinx python-pip d DEBIAN_FRONTEND=noninteractive pip install sphinx_rtd_theme breathe # XML needed by PHPCodeSniffer 2.3+ -# SQLite needed by Phan +# AST and SQLite needed by Phan RUN DEBIAN_FRONTEND=noninteractive apt-get -y install php-xml php-sqlite3 php-ast +RUN ln -s /etc/php/mods-available/ast.ini /etc/php/7.0/cli/conf.d/20-ast.ini # Install XDebug 2.4.0 RUN wget https://github.com/xdebug/xdebug/archive/XDEBUG_2_4_0.tar.gz && \