parent
3e123cb4b8
commit
7b73b05002
|
@ -26,7 +26,7 @@ RUN apt-get update && apt-get upgrade -y && \
|
||||||
# tar -xvf cmake-3.24.2.tar.gz && cd cmake-3.24.2 && \
|
# tar -xvf cmake-3.24.2.tar.gz && cd cmake-3.24.2 && \
|
||||||
# ./bootstrap && make && make install
|
# ./bootstrap && make && make install
|
||||||
RUN wget -nv https://github.com/Kitware/CMake/releases/download/v${cmake_version}/cmake-${cmake_version}-linux-x86_64.sh && \
|
RUN wget -nv https://github.com/Kitware/CMake/releases/download/v${cmake_version}/cmake-${cmake_version}-linux-x86_64.sh && \
|
||||||
mkdir /opt/cmake && sh ./cmake-${cmake_version}-linux-x86_64.sh --skip-license --prefix=/opt/cmake && ln -s /opt/cmake/bin/cmake /usr/bin/cmake && \
|
mkdir -p /opt/cmake && sh ./cmake-${cmake_version}-linux-x86_64.sh --skip-license --prefix=/opt/cmake && ln -s /opt/cmake/bin/cmake /usr/bin/cmake && \
|
||||||
rm cmake-${cmake_version}-linux-x86_64.sh
|
rm cmake-${cmake_version}-linux-x86_64.sh
|
||||||
RUN ln -s /usr/bin/make /usr/bin/gmake
|
RUN ln -s /usr/bin/make /usr/bin/gmake
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue