add lcov to test docker container

This commit is contained in:
einhorn_b 2021-06-01 14:03:33 +02:00
parent 9e82998f92
commit dbbc4e1db5

View File

@ -17,6 +17,10 @@ RUN composer dump-autoload
######### special for code coverage and testing
FROM community_server as test
RUN git clone https://github.com/linux-test-project/lcov.git --branch=v1.15 && \
cd lcov && \
make install
RUN apt-get update \
&& apt-get -y --no-install-recommends install php7.4-xdebug \
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*