From ebb17e24cf48d492ab33680d40d934436ef5a7f2 Mon Sep 17 00:00:00 2001 From: "George G. Vega Yon" Date: Thu, 6 Jun 2024 10:14:47 -0600 Subject: [PATCH] Updating links to gcov --- docker/Dockerfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 3c6fdcc3..9a649251 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,16 +1,14 @@ FROM ubuntu:latest # Installing g++-9 and GNU Make -RUN apt update && apt install -y --no-install-recommends g++-9 +RUN apt update && apt install -y --no-install-recommends g++-11 RUN apt install -y --no-install-recommends make -# Makeing the path availables -RUN cd /bin/ && ln -s g++-9 g++ && \ +# Making the path availables +RUN cd /bin/ && ln -s g++-11 g++ && \ + ln -s gcov-11 gcov && \ echo export PATH=$PATH:/bin/:/user/bin/ > ~/.profile -# Installing gcov -RUN apt install -y --no-install-recommends gcovr - # Test run COPY hello.cpp /home/hello.cpp RUN echo "all:\n\tg++ -std=c++11 hello.cpp -o hello.o && ./hello.o" >> /home/Makefile