Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3747198
D768.id1944.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D768.id1944.diff
View Options
diff --git a/jenkins-slave-php/Dockerfile b/jenkins-slave-php/Dockerfile
--- a/jenkins-slave-php/Dockerfile
+++ b/jenkins-slave-php/Dockerfile
@@ -27,10 +27,14 @@
chmod +x pdepend.phar && ln -s /opt/pdepend.phar /usr/local/bin/pdepend && \
wget http://static.phpmd.org/php/latest/phpmd.phar && \
chmod +x /opt/phpmd.phar && ln -s /opt/phpmd.phar /usr/local/bin/phpmd && \
- pecl install xdebug && \
+ wget https://github.com/etsy/phan/releases/download/0.7/phan.phar && \
+ chmod +x /opt/phan.phar && ln -s /opt/phan.phar /usr/local/bin/phan && \
git clone https://github.com/phacility/libphutil.git && \
git clone https://github.com/phacility/arcanist.git && \
ln -s /opt/arcanist/bin/arc /usr/local/bin/arc && \
+ pecl install xdebug && \
+ git clone https://github.com/nikic/php-ast.git && \
+ cd /opt/php-ast && phpize && ./configure && make && make install && \
curl -sL https://deb.nodesource.com/setup_4.x | bash - && \
apt-get install -y nodejs && \
npm install -g bower gulp && \
diff --git a/jenkins-slave-php/files/usr/local/etc/php/conf.d/ast.ini b/jenkins-slave-php/files/usr/local/etc/php/conf.d/ast.ini
new file mode 100644
--- /dev/null
+++ b/jenkins-slave-php/files/usr/local/etc/php/conf.d/ast.ini
@@ -0,0 +1 @@
+extension=ast.so
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 00:56 (2 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248357
Default Alt Text
D768.id1944.diff (1 KB)
Attached To
Mode
D768: Install phan and php-ast
Attached
Detach File
Event Timeline
Log In to Comment