Skip to content

Commit cb1ba85

Browse files
authored
Use binary-only images for installing Composer (#56)
See: https://blog.codito.dev/2022/11/composer-binary-only-docker-images/
1 parent aecbb56 commit cb1ba85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 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.3.10 /usr/bin/composer /usr/local/bin/composer
12+
COPY --from=composer:2.3.10-bin /composer /usr/local/bin/composer
1313

1414
RUN mkdir /composer
1515
ENV COMPOSER_HOME=/composer

0 commit comments

Comments
 (0)