mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-10 05:07:26 +01:00
common.docker: Fix CMake https download building it against openssl 1.0.2j
See #63
This commit is contained in:
parent
39c5f29733
commit
6f7e7b05fd
@ -5,7 +5,13 @@ 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 wget https://www.openssl.org/source/openssl-1.0.2j.tar.gz && \
|
||||||
|
tar -xzvf openssl-1.0.2j.tar.gz && \
|
||||||
|
cd openssl-1.0.2j && \
|
||||||
|
./config && \
|
||||||
|
make && \
|
||||||
|
cd .. && \
|
||||||
|
git clone git://cmake.org/cmake.git CMake && \
|
||||||
cd CMake && \
|
cd CMake && \
|
||||||
git checkout ab2ae4823c3b60347825da4b851cd4e676f8bed1 && \
|
git checkout ab2ae4823c3b60347825da4b851cd4e676f8bed1 && \
|
||||||
mkdir /usr/src/CMake-build && \
|
mkdir /usr/src/CMake-build && \
|
||||||
@ -16,11 +22,13 @@ RUN git clone git://cmake.org/cmake.git CMake && \
|
|||||||
make -j$(grep -c processor /proc/cpuinfo) && \
|
make -j$(grep -c processor /proc/cpuinfo) && \
|
||||||
./bin/cmake \
|
./bin/cmake \
|
||||||
-DCMAKE_BUILD_TYPE:STRING=Release \
|
-DCMAKE_BUILD_TYPE:STRING=Release \
|
||||||
-DCMAKE_USE_OPENSSL:BOOL=ON . && \
|
-DCMAKE_USE_OPENSSL:BOOL=ON \
|
||||||
|
-DOPENSSL_ROOT_DIR:PATH=/usr/src/openssl-1.0.2j \
|
||||||
|
. && \
|
||||||
make install && \
|
make install && \
|
||||||
cd .. && rm -rf CMake*
|
cd .. && rm -rf CMake* && rm -rf /usr/src/openssl-1.0.2j
|
||||||
|
|
||||||
RUN git clone "https://github.com/martine/ninja.git" && \
|
RUN git clone "https://github.com/ninja-build/ninja.git" && \
|
||||||
cd ninja && \
|
cd ninja && \
|
||||||
git checkout v1.7.1 && \
|
git checkout v1.7.1 && \
|
||||||
([ -e /opt/python/cp35-cp35m/bin/python ] && /opt/python/cp35-cp35m/bin/python ./configure.py --bootstrap) || python ./configure.py --bootstrap && \
|
([ -e /opt/python/cp35-cp35m/bin/python ] && /opt/python/cp35-cp35m/bin/python ./configure.py --bootstrap) || python ./configure.py --bootstrap && \
|
||||||
|
Loading…
Reference in New Issue
Block a user