File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
FROM php:7.0-alpine
2
2
3
- RUN apk add --no-cache git && \
3
+ RUN apk add --no-cache git tini && \
4
4
git clone https://github.com/nikic/php-ast.git /tmp/php-ast && \
5
5
apk del git && \
6
6
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS && \
@@ -9,9 +9,10 @@ RUN apk add --no-cache git && \
9
9
echo extension=ast.so > /usr/local/etc/php/conf.d/ast.ini && \
10
10
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer && \
11
11
composer create-project --no-dev --prefer-dist etsy/phan /opt/phan 0.6 && \
12
- rm -rf /var/cache/apk/* /tmp/php-ast /usr/local/bin/composer && \
13
- apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ tini
12
+ rm -r /tmp/php-ast /usr/local/bin/composer
13
+
14
+ ENV PATH $PATH:/opt/phan/
14
15
15
16
ENTRYPOINT ["/sbin/tini" , "--" ]
16
17
17
- CMD ["/opt/phan/ phan" ]
18
+ CMD ["phan" ]
You can’t perform that action at this time.
0 commit comments