Skip to content

Commit

Permalink
bump gcc version, add python-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
TKussel committed Sep 4, 2024
1 parent 5f5b3b4 commit a9a865c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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
Expand Down

0 comments on commit a9a865c

Please sign in to comment.