Skip to content

Commit ed06f34

Browse files
committed
Add infection
1 parent e43295b commit ed06f34

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker/release/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM php:8.0.10-cli-alpine3.14
22

33
COPY --from=composer:2.1.6 /usr/bin/composer /usr/local/bin/composer
44

5+
ENV COMPOSER_HOME=/composer/common
56
ENV COMPOSER_HOME_SYMFONY_5_3=/composer/symfony-5-3
67

78
RUN \
@@ -17,6 +18,11 @@ RUN \
1718
&& docker-php-ext-enable xdebug \
1819
&& apk del .build-deps \
1920

21+
# Install infection
22+
&& composer global require infection/infection:0.24.* \
23+
&& ln -s ${COMPOSER_HOME}/vendor/bin/infection /usr/local/bin/infection \
24+
25+
# Install symfony components for coverage
2026
&& COMPOSER_HOME=${COMPOSER_HOME_SYMFONY_5_3} \
2127
composer global require symfony/console:5.3.* symfony/process:5.3.* \
2228

0 commit comments

Comments
 (0)