This repository was archived by the owner on Nov 26, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM php:7.0-alpine
22
3- RUN apk --update add zlib-dev git && \
4- docker-php-ext-install zip mbstring && \
3+ RUN apk add --no-cache git && \
54 git clone https://github.com/nikic/php-ast.git /tmp/php-ast && \
5+ apk del git && \
6+ apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS && \
67 cd /tmp/php-ast && phpize && ./configure && make install && \
8+ apk del .phpize-deps && \
79 echo extension=ast.so > /usr/local/etc/php/conf.d/ast.ini && \
810 curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer && \
911 composer create-project --no-dev --prefer-dist etsy/phan /opt/phan 0.4 && \
10- curl -fSL "https://github.com/krallin/tini/releases/download/v0.9.0/tini-static" -o /usr/local/bin/tini && \
11- chmod +x /usr/local/bin/tini && \
12- apk del zlib-dev git && \
13- rm -rf /var/cache/apk/* /tmp/php-ast /usr/local/bin/composer
14-
15- ENTRYPOINT ["tini" , "/opt/phan/phan" , "--" ]
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
14+ RUN echo $PHPIZE_DEPS
15+ ENTRYPOINT ["/sbin/tini" , "--" , "/opt/phan/phan" ]
You can’t perform that action at this time.
0 commit comments