Skip to content

Commit 8e94a02

Browse files
committed
fixup
1 parent d123325 commit 8e94a02

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test.Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
ARG PHP_VERSION=latest
22
ARG CODE_COVERAGE=false
33
FROM php:${PHP_VERSION}-cli-alpine
4+
ARG CODE_COVERAGE
45

56
WORKDIR /workdir
67

@@ -12,7 +13,7 @@ ENV COMPOSER_CACHE_DIR=/.composer
1213

1314
# install PHP extension pcov
1415
RUN if [[ "${CODE_COVERAGE}" == "true" ]] ; \
15-
then apk add --no-cache --virtual .build-deps $PHPIZE_DEPS \
16+
then apk add --no-cache --virtual .build-deps $PHPIZE_DEPS linux-headers \
1617
&& pecl install xdebug \
1718
&& docker-php-ext-enable xdebug \
1819
&& apk del --no-cache .build-deps ; \

0 commit comments

Comments
 (0)