docker: use newer gtest on debian buster
@@ -26,7 +26,6 @@ RUN apt-get update \
git \
git-buildpackage \
gobject-introspection \
- googletest \
graphviz \
icheck \
lcov \
@@ -85,7 +84,14 @@ RUN apt-get update \
# Google Test
-ENV GTEST_ROOT=/usr/src/googletest
+ENV GTEST_ROOT=/opt/gtest
+ARG GTEST_VER=release-1.10.0
+RUN mkdir -p ${GTEST_ROOT} \
+ && cd /tmp \
+ && curl -o gtest.tar.gz \
+ -L https://github.com/google/googletest/archive/${GTEST_VER}.tar.gz \
+ && tar -zxvf gtest.tar.gz --strip-components=1 -C ${GTEST_ROOT} \
+ && rm gtest.tar.gz
# Update cache for shared libraries
RUN ldconfig
