1
- FROM ubuntu:23 .04
1
+ FROM ubuntu:24 .04
2
2
3
3
# ###############################################################################
4
4
# install prerequisted libriaries
@@ -11,27 +11,13 @@ RUN apt-get update && apt-get install -y \
11
11
&& rm -rf /var/lib/apt/lists/*
12
12
13
13
RUN apt-get update && apt-get install -y \
14
- git cmake make gcc-13 g++-13 ninja-build \
14
+ git cmake make gcc g++ ninja-build \
15
15
&& rm -rf /var/lib/apt/lists/*
16
16
17
17
RUN apt-get update && apt-get install -y \
18
18
libaio-dev python3-pip cppcheck \
19
19
&& rm -rf /var/lib/apt/lists/*
20
20
21
- RUN pip3 install gcovr==6.0 --break-system-packages
22
-
23
- RUN ln -sf /usr/bin/cpp-13 /usr/bin/cpp \
24
- && ln -sf /usr/bin/g++-13 /usr/bin/g++ \
25
- && ln -sf /usr/bin/gcc-13 /usr/bin/gcc \
26
- && ln -sf /usr/bin/gcc-ar-13 /usr/bin/gcc-ar \
27
- && ln -sf /usr/bin/gcc-nm-13 /usr/bin/gcc-nm \
28
- && ln -sf /usr/bin/gcc-ranlib-13 /usr/bin/gcc-ranlib \
29
- && ln -sf /usr/bin/gcov-13 /usr/bin/gcov \
30
- && ln -sf /usr/bin/gcov-dump-13 /usr/bin/gcov-dump \
31
- && ln -sf /usr/bin/gcov-tool-13 /usr/bin/gcov-tool \
32
- && ln -sf /usr/bin/lto-dump-13 /usr/bin/lto-dump \
33
- && ln -sf /usr/bin/g++-13 /usr/bin/c++ \
34
- && ln -sf /usr/bin/gcc-13 /usr/bin/cc
35
21
36
22
# install vcpkg and its prerequisites
37
23
RUN apt-get update && apt-get install -y \
@@ -43,17 +29,13 @@ RUN git clone https://github.com/Microsoft/vcpkg.git /opt/vcpkg \
43
29
&& echo 'export PATH=$VCPKG_ROOT:$PATH' >> ~/.bashrc \
44
30
&& echo 'export VCPKG_FORCE_SYSTEM_BINARIES=1' >> ~/.bashrc
45
31
46
- # config vcpkg triplets
47
32
RUN mv /opt/vcpkg/triplets/x64-linux.cmake /opt/vcpkg/triplets/x64-linux-static.cmake
48
33
COPY vcpkg-triplets/x64-linux.cmake /opt/vcpkg/triplets/x64-linux.cmake
49
34
COPY vcpkg-triplets/arm64-linux.cmake /opt/vcpkg/triplets/arm64-linux.cmake
50
35
51
- # for gperftools, pprof, pidstat
52
36
RUN apt-get update && apt-get install -y \
53
37
autoconf libtool golang graphviz sysstat \
54
- && rm -rf /var/lib/apt/lists/* \
55
- && go install github.com/google/pprof@latest \
56
- && echo 'export PATH=$HOME/go/bin:$PATH' >> ~/.bashrc
38
+ && rm -rf /var/lib/apt/lists/*
57
39
58
40
59
41
# ###############################################################################
0 commit comments