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

Commit 012547f

Browse files
committed
use alpine'upstream tini
1 parent c25f726 commit 012547f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM php:7.0-alpine
22

3-
RUN apk add --no-cache git && \
3+
RUN apk add --no-cache git tini && \
44
git clone https://github.com/nikic/php-ast.git /tmp/php-ast && \
55
apk del git && \
66
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS && \
@@ -9,8 +9,7 @@ RUN apk add --no-cache git && \
99
echo extension=ast.so > /usr/local/etc/php/conf.d/ast.ini && \
1010
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer && \
1111
composer create-project --no-dev --prefer-dist etsy/phan /opt/phan dev-master && \
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 /tmp/php-ast /usr/local/bin/composer
1413

1514
ENV PATH $PATH:/opt/phan/
1615

0 commit comments

Comments
 (0)