File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM gcc:9
2
+
3
+ RUN curl https://cmake.org/files/v3.17/cmake-3.17.0-Linux-x86_64.sh -o /tmp/curl-install.sh \
4
+ && chmod u+x /tmp/curl-install.sh \
5
+ && mkdir /usr/bin/cmake \
6
+ && /tmp/curl-install.sh --skip-license --prefix=/usr/bin/cmake \
7
+ && rm /tmp/curl-install.sh \
8
+ && curl https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py \
9
+ && python /tmp/get-pip.py --no-wheel \
10
+ && rm /tmp/get-pip.py \
11
+ && pip install gcovr
12
+ ENV PATH="/usr/bin/cmake/bin:${PATH}"
13
+ RUN curl -Lj0 https://github.com/google/googletest/archive/release-1.10.0.zip -o /tmp/gtest.zip \
14
+ && cd /tmp \
15
+ && unzip gtest.zip \
16
+ && cd googletest-release-1.10.0 \
17
+ && cmake -DBUILD_SHARED_LIBS=ON . \
18
+ && make \
19
+ && make install \
20
+ && cd .. \
21
+ && rm gtest.zip \
22
+ && rm -rf googletest-release-1.10.0 \
23
+
You can’t perform that action at this time.
0 commit comments