From b1037c9f5f017df39bcbe50cb96d77e6f78c2966 Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Wed, 21 Sep 2016 20:25:02 -0400 Subject: [PATCH] manylinux-x64,base: Download cmake binary for SSL support Download the CMake binary from CMake.org for SSL support. #39 --- common.docker | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/common.docker b/common.docker index 031e6d2..c594da8 100644 --- a/common.docker +++ b/common.docker @@ -5,20 +5,10 @@ RUN git clone "https://github.com/nojhan/liquidprompt.git" && \ COPY imagefiles/.bashrc /root/ WORKDIR /usr/src -RUN git clone "git://cmake.org/cmake.git" CMake && \ - cd CMake && \ - git checkout v3.6.1 && \ - cd .. && mkdir CMake-build && cd CMake-build && \ - /usr/src/CMake/bootstrap \ - --parallel=$(nproc) \ - --prefix=/usr && \ - make -j$(nproc) && \ - ./bin/cmake \ - -DCMAKE_BUILD_TYPE:STRING=Release \ - -DCMAKE_USE_OPENSSL:BOOL=ON . && \ - make install && \ - cd .. && \ - rm -rf CMake* +RUN curl -O https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz && \ + tar xzf cmake-3.6.2-Linux-x86_64.tar.gz && \ + cp -a cmake-3.6.2-Linux-x86_64/* /usr/ && \ + rm -rf cmake-3.6.2-Linux-x86_64 RUN git clone "https://github.com/martine/ninja.git" && \ cd ninja && \