diff --git a/Dockerfile b/Dockerfile index 532e3d5523e..a2709877003 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 <