Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

using a prebuild cmake to save time #32

Merged
merged 1 commit into from
Aug 30, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,10 @@ RUN apt-get -y install libc++-8-dev libc++abi-8-dev
RUN update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-8 100
RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-8 100

# install a newer version of cmake than can be found on ubuntu
RUN cd /usr/local/src \
&& curl -O https://cmake.org/files/v3.13/cmake-3.13.0.tar.gz \
&& tar xvf cmake-3.13.0.tar.gz \
&& cd cmake-3.13.0 \
&& ./bootstrap \
&& make \
&& make install \
&& cd .. \
&& rm -rf cmake*
ADD https://cmake.org/files/v3.13/cmake-3.13.0-Linux-x86_64.sh /cmake-3.13.0-Linux-x86_64.sh
RUN mkdir /opt/cmake
RUN sh /cmake-3.13.0-Linux-x86_64.sh --prefix=/opt/cmake --skip-license
RUN ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake

#install hyde dependencies
RUN apt-get -y install libyaml-cpp-dev libboost-system-dev libboost-filesystem-dev
Expand Down