Created
August 24, 2023 08:46
-
-
Save Congyuwang/203c291fa6fcac68cf364448d305a4c4 to your computer and use it in GitHub Desktop.
Dockerfile Install 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
# install cmake | |
WORKDIR /root | |
RUN mkdir temp | |
WORKDIR /root/temp | |
RUN curl -OL https://github.com/Kitware/CMake/releases/download/v3.27.4/cmake-3.27.4.tar.gz | |
RUN tar -xzvf cmake-3.27.4.tar.gz | |
WORKDIR /root/temp/cmake-3.27.4 | |
RUN ./bootstrap -- -DCMAKE_BUILD_TYPE:STRING=Release | |
RUN make -j4 | |
RUN make install | |
WORKDIR /root | |
RUN rm -rf temp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
requires
libssl-dev