From e06daf437aa1b8d71ea9a40ffa20a2e88b438f11 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Mon, 7 Oct 2024 16:42:56 +0200 Subject: [PATCH] chore(Dockerfile): default to cmake from package manager (#3746) Signed-off-by: Ettore Di Giacinto --- Dockerfile | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 532e3d5523e5..a2709877003f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,7 @@ USER root ARG GO_VERSION=1.22.6 ARG CMAKE_VERSION=3.26.4 +ARG CMAKE_FROM_SOURCE=false ARG TARGETARCH ARG TARGETVARIANT @@ -28,13 +29,23 @@ RUN apt-get update && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* +# Install CMake (the version in 22.04 is too old) +RUN <