Skip to content

Commit 3646e10

Browse files
authored
fix plugin allow (#55)
1 parent 4f73862 commit 3646e10

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LABEL "repository"="http://github.com/oskarstark/phpstan-ga"
99
LABEL "homepage"="http://github.com/actions"
1010
LABEL "maintainer"="Oskar Stark <oskarstark@googlemail.com>"
1111

12-
COPY --from=composer:2.2.4 /usr/bin/composer /usr/local/bin/composer
12+
COPY --from=composer:2.3.10 /usr/bin/composer /usr/local/bin/composer
1313

1414
RUN mkdir /composer
1515
ENV COMPOSER_HOME=/composer
@@ -19,6 +19,7 @@ RUN echo "memory_limit=-1" > $PHP_INI_DIR/conf.d/memory-limit.ini
1919
ENV VERSION=1.8.2
2020

2121
RUN composer global require phpstan/phpstan $VERSION \
22+
&& composer global config --no-plugins allow-plugins.phpstan/extension-installer true \
2223
&& composer global require phpstan/extension-installer \
2324
&& composer global require phpstan/phpstan-doctrine \
2425
&& composer global require phpstan/phpstan-phpunit \

0 commit comments

Comments
 (0)