Skip to content

Commit baa77cb

Browse files
author
Greg Bowler
committed
Use local composer install
1 parent 13d286d commit baa77cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LABEL repository="https://github.com/php-actions/phpunit"
55
LABEL homepage="https://github.com/php-actions/phpunit"
66
LABEL maintainer="Greg Bowler <[email protected]>"
77

8-
RUN apt-get update && apt-get install -y composer
9-
RUN composer global require --no-progress phpunit/phpunit 9.*
8+
RUN curl https://raw.githubusercontent.com/composer/getcomposer.org/master/web/installer | php -- --quiet
9+
RUN ./composer.phar global require --no-progress phpunit/phpunit 9.*
1010
COPY entrypoint /usr/local/bin/entrypoint
1111
ENTRYPOINT ["/usr/local/bin/entrypoint"]

0 commit comments

Comments
 (0)