trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bner...@apache.org
Subject [trafficserver-ci] branch main updated: Adding coverage system requirements. (#24)
Date Mon, 19 Jul 2021 16:11:13 GMT
This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new 36f4886  Adding coverage system requirements. (#24)
36f4886 is described below

commit 36f4886d94fa911f16936db9947ae5c2e2394528
Author: Brian Neradt <brian.neradt@gmail.com>
AuthorDate: Mon Jul 19 12:09:36 2021 -0400

    Adding coverage system requirements. (#24)
---
 docker/centos/Dockerfile | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/docker/centos/Dockerfile b/docker/centos/Dockerfile
index b53752e..7ee2234 100644
--- a/docker/centos/Dockerfile
+++ b/docker/centos/Dockerfile
@@ -63,3 +63,17 @@ RUN useradd \
     ${username}
 RUN echo "${username} ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers
 RUN chown -R ${username} /home/${username}
+
+# Install lcov requirements.
+RUN yum install -y perl-IO-Compress
+ARG lcov_build_dir=/var/tmp/lcov_build_dir
+RUN mkdir -p ${lcov_build_dir}
+WORKDIR ${lcov_build_dir}
+RUN git clone https://github.com/linux-test-project/lcov.git; \
+    cd lcov; \
+    # v1.15 is required for g++ version 9 compiled files.
+    git checkout v1.15; \
+    make install
+WORKDIR /root
+RUN rm -rf ${lcov_build_dir}
+RUN yum clean all

Mime
View raw message