From e678bfa042e7ebec7dbab75408039c6090c121f9 Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Mon, 18 Dec 2017 10:52:35 -0400 Subject: [PATCH] use cmake 3.10 in Docker dependency image this should make Travis log nicer to read thanks to @m-kuhn patch to cmake see https://gitlab.kitware.com/cmake/cmake/merge_requests/1133 --- .docker/Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.docker/Dockerfile b/.docker/Dockerfile index e20351d1bef..9cb33731772 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -12,7 +12,7 @@ RUN apt-get update \ ca-certificates \ ccache \ clang \ - cmake \ + # cmake \ curl \ dh-python \ flex \ @@ -88,7 +88,10 @@ RUN apt-get update \ future \ termcolor \ && apt-get autoremove -y python3-pip python2.7 \ - && apt-get clean + && apt-get clean \ + && curl -s -S -O https://cmake.org/files/v3.10/cmake-3.10.1-Linux-x86_64.tar.gz \ + && tar --strip-components=1 -zx -f cmake-3.10.1-Linux-x86_64.tar.gz -C /usr/local \ + && rm cmake-3.10.1-Linux-x86_64.tar.gz RUN echo "alias python=python3" >> ~/.bash_aliases @@ -96,5 +99,6 @@ ENV CC=/usr/lib/ccache/clang ENV CXX=/usr/lib/ccache/clang++ ENV QT_SELECT=5 ENV LANG=C.UTF-8 +ENV PATH="/usr/local/bin:${PATH}" CMD /root/QGIS/.ci/travis/linux/docker-build-test.sh