mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-13 22:51:31 +01:00
Merge pull request #40 from thewtex/39-manylinux-cmake-ssl
manylinux-x64,base: Download cmake binary for SSL support
This commit is contained in:
commit
3c1a2758b0
@ -5,20 +5,10 @@ RUN git clone "https://github.com/nojhan/liquidprompt.git" && \
|
|||||||
COPY imagefiles/.bashrc /root/
|
COPY imagefiles/.bashrc /root/
|
||||||
|
|
||||||
WORKDIR /usr/src
|
WORKDIR /usr/src
|
||||||
RUN git clone "git://cmake.org/cmake.git" CMake && \
|
RUN curl -O https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz && \
|
||||||
cd CMake && \
|
tar xzf cmake-3.6.2-Linux-x86_64.tar.gz && \
|
||||||
git checkout v3.6.1 && \
|
cp -a cmake-3.6.2-Linux-x86_64/* /usr/ && \
|
||||||
cd .. && mkdir CMake-build && cd CMake-build && \
|
rm -rf cmake-3.6.2-Linux-x86_64
|
||||||
/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 git clone "https://github.com/martine/ninja.git" && \
|
RUN git clone "https://github.com/martine/ninja.git" && \
|
||||||
cd ninja && \
|
cd ninja && \
|
||||||
|
Loading…
Reference in New Issue
Block a user