From a9a865cfc80323ba5947f6014a48b16f16b53941 Mon Sep 17 00:00:00 2001 From: Tobias Kussel Date: Wed, 4 Sep 2024 08:37:41 +0000 Subject: [PATCH] bump gcc version, add python-dev --- Dockerfile.ubuntu | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile.ubuntu b/Dockerfile.ubuntu index ef71230..ffaf76f 100644 --- a/Dockerfile.ubuntu +++ b/Dockerfile.ubuntu @@ -6,8 +6,9 @@ RUN find /lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/ -name '*.so*' > /shar RUN apt-get update && \ apt-get install -y --no-install-recommends \ dpkg-dev \ - g++-8 \ + g++-12 \ libc6-dev \ + python3-dev \ libssl-dev \ openssl \ cmake \ @@ -18,10 +19,10 @@ RUN apt-get update && \ libcurl4-openssl-dev \ && rm -rf /var/lib/apt/lists/* -# We only installed gcc-8 -> make default -RUN ln -s /usr/bin/gcc-8 /usr/bin/gcc \ - && ln -s /usr/bin/g++-8 /usr/bin/g++ \ - && ln -s /usr/bin/gcov-8 /usr/bin/gcov +# We only installed gcc-12 -> make default +RUN ln -s /usr/bin/gcc-12 /usr/bin/gcc \ + && ln -s /usr/bin/g++-12 /usr/bin/g++ \ + && ln -s /usr/bin/gcov-12 /usr/bin/gcov WORKDIR /app COPY extern extern