From 87f81f67c5e0b9f54202d03fa4ca408b435c4597 Mon Sep 17 00:00:00 2001 From: einhorn_b Date: Tue, 1 Jun 2021 14:21:30 +0200 Subject: [PATCH] install gcov --- community_server/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/community_server/Dockerfile b/community_server/Dockerfile index 1d9495f60..88f7b4555 100644 --- a/community_server/Dockerfile +++ b/community_server/Dockerfile @@ -16,10 +16,14 @@ RUN composer dump-autoload ######### special for code coverage and testing FROM community_server as test + + RUN apt-get update \ - && apt-get -y --no-install-recommends install php7.4-xdebug lcov \ + && apt-get -y --no-install-recommends install php7.4-xdebug lcov python3-pip \ && apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* +RUN pip3 install gcovr + WORKDIR /var/www/cakephp ENV XDEBUG_MODE=coverage