Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Commit 15af51f

Browse files
committed
Initial commit
0 parents  commit 15af51f

3 files changed

Lines changed: 692 additions & 0 deletions

File tree

Dockerfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM php:7
2+
3+
RUN apt-get update
4+
RUN apt-get install -y zlib1g-dev git libzmq3 libzmq3-dev
5+
RUN docker-php-ext-install zip mbstring
6+
7+
RUN git clone https://github.com/nikic/php-ast.git /tmp/php-ast && \
8+
cd /tmp/php-ast && phpize && ./configure && make install && \
9+
echo extension=ast.so > /usr/local/etc/php/conf.d/ast.ini
10+
11+
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer
12+
13+
RUN set -x \
14+
&& curl -fSL "https://github.com/krallin/tini/releases/download/v0.5.0/tini" -o /usr/local/bin/tini \
15+
&& chmod +x /usr/local/bin/tini
16+
17+
RUN git clone https://github.com/etsy/phan /opt/phan
18+
19+
RUN cd /opt/phan && composer install
20+
21+
ENTRYPOINT ["tini", "/opt/phan/phan", "--"]

0 commit comments

Comments
 (0)