1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 04:17:33 +00:00

Bump cmake version in docker build.

This commit is contained in:
Brenden Matthews 2022-12-27 08:24:56 -05:00 committed by Brenden Matthews
parent 3fb6534eff
commit a0b526278a

View File

@ -45,9 +45,9 @@ RUN apt-get update \
# Compile CMake, we need the latest because the bug here (for armv7 builds): # Compile CMake, we need the latest because the bug here (for armv7 builds):
# https://gitlab.kitware.com/cmake/cmake/-/issues/20568 # https://gitlab.kitware.com/cmake/cmake/-/issues/20568
WORKDIR /cmake WORKDIR /cmake
RUN curl -Lq https://github.com/Kitware/CMake/releases/download/v3.24.1/cmake-3.24.1.tar.gz -o cmake-3.24.1.tar.gz \ RUN curl -Lq https://github.com/Kitware/CMake/releases/download/v3.25.1/cmake-3.25.1.tar.gz -o cmake-3.25.1.tar.gz \
&& tar xf cmake-3.24.1.tar.gz \ && tar xf cmake-3.25.1.tar.gz \
&& cd cmake-3.24.1 \ && cd cmake-3.25.1 \
&& CC=clang CXX=clang++ CFLAGS="-D_FILE_OFFSET_BITS=64" CXXFLAGS="-D_FILE_OFFSET_BITS=64" ./bootstrap --system-libs --parallel=5 \ && CC=clang CXX=clang++ CFLAGS="-D_FILE_OFFSET_BITS=64" CXXFLAGS="-D_FILE_OFFSET_BITS=64" ./bootstrap --system-libs --parallel=5 \
&& make -j5 \ && make -j5 \
&& make -j5 install \ && make -j5 install \