base: CMake use openssl.

This commit is contained in:
Matt McCormick 2015-07-22 23:36:02 -04:00
parent 62eeb8e865
commit 08b4040d80

View File

@ -11,6 +11,7 @@ RUN apt-get update && apt-get -y install \
file \ file \
git \ git \
gzip \ gzip \
libcurl4-openssl-dev \
libssl-dev \ libssl-dev \
make \ make \
ncurses-dev \ ncurses-dev \
@ -33,7 +34,10 @@ WORKDIR /usr/src/CMake-build
RUN /usr/src/CMake/bootstrap \ RUN /usr/src/CMake/bootstrap \
--parallel=$(nproc) \ --parallel=$(nproc) \
--prefix=/usr && \ --prefix=/usr && \
make -j$(nproc) install && \ make -j$(nproc) && \
./bin/cmake -DCMAKE_USE_SYSTEM_CURL:BOOL=ON \
-DCMAKE_USE_OPENSSL:BOOL=ON . && \
make install && \
rm -rf * rm -rf *
WORKDIR /usr/src WORKDIR /usr/src