Created
October 9, 2020 11:40
-
-
Save OlivierLDff/3b4f6e65bc95d0271c49bdc27feb96c1 to your computer and use it in GitHub Desktop.
Docker : Build cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Build cool cmake version | |
ARG CMAKE=3.18.4 | |
RUN wget -c -nv https://github.com/Kitware/CMake/releases/download/v${CMAKE}/cmake-${CMAKE}.tar.gz && \ | |
tar zxvf cmake-${CMAKE}.tar.gz && \ | |
rm -rf cmake-${CMAKE}.tar.gz && \ | |
cd cmake-${CMAKE} && \ | |
./configure && \ | |
make -j $(nproc) && \ | |
make install && \ | |
cd .. && \ | |
rm -rf cmake-${CMAKE} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment