File tree Expand file tree Collapse file tree 4 files changed +3
-21
lines changed Expand file tree Collapse file tree 4 files changed +3
-21
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ ENV TOOLS_JSON=/root/tools.json
1111
1212COPY tools.json ${TOOLS_JSON}
1313COPY tools.php /usr/local/bin/tools.php
14- COPY install- composer.sh /usr/local/ bin/install- composer.sh
14+ COPY --from= composer:1.6 /usr/bin/composer /usr/ bin/composer
1515
1616RUN apt-get update && apt-get install -y --no-install-recommends $TOOL_DEPS $BUILD_DEPS $LIB_DEPS && rm -rf /var/lib/apt/lists/* \
1717 && git clone https://github.com/nikic/php-ast.git && cd php-ast && phpize && ./configure && make && make install && cd .. && rm -rf php-ast && docker-php-ext-enable ast \
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ ENV TOOLS_JSON=/root/tools.json
1111
1212COPY tools.json ${TOOLS_JSON}
1313COPY tools.php /usr/local/bin/tools.php
14- COPY install- composer.sh /usr/local/ bin/install- composer.sh
14+ COPY --from= composer:1.6 /usr/bin/composer /usr/ bin/composer
1515
1616RUN apk add --no-cache --virtual .tool-deps $TOOL_DEPS $LIB_DEPS \
1717 && apk add --no-cache --virtual .build-deps $BUILD_DEPS \
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -478,7 +478,7 @@ function LoadTools(string $source): PleaseTry
478478 'composer ' ,
479479 'Dependency Manager for PHP ' ,
480480 'https://getcomposer.org/ ' ,
481- new ShCommand ('/usr/local/bin/install- composer.sh ' ),
481+ new ShCommand ('composer self-update ' ),
482482 new TestCommand ('composer list ' , 'composer ' )
483483 ),
484484 new Tool (
You can’t perform that action at this time.
0 commit comments