diff --git a/docker/builders/builder-any-x86_64_gcc8.0.0_gcc6.0.0_gcc5.0.0_gcc4.9.0_gcc4.8.0.Dockerfile b/docker/builders/builder-any-x86_64_gcc8.0.0_gcc6.0.0_gcc5.0.0_gcc4.9.0_gcc4.8.0.Dockerfile index 5c92642..c399ca4 100644 --- a/docker/builders/builder-any-x86_64_gcc8.0.0_gcc6.0.0_gcc5.0.0_gcc4.9.0_gcc4.8.0.Dockerfile +++ b/docker/builders/builder-any-x86_64_gcc8.0.0_gcc6.0.0_gcc5.0.0_gcc4.9.0_gcc4.8.0.Dockerfile @@ -40,7 +40,6 @@ RUN apt-get update \ zstd \ gawk \ mawk \ - cmake \ git \ && rm -rf /var/lib/apt/lists/* @@ -125,6 +124,13 @@ RUN curl -L -o binutils_2.30-22_${TARGETARCH}.deb https://download.falco.org/dep && dpkg -i *binutils*.deb \ && rm -f *binutils*.deb +# Install a recent version of cmake (debian buster has at most 3.13) +RUN curl -L -o /tmp/cmake.tar.gz https://github.com/Kitware/CMake/releases/download/v3.22.5/cmake-3.22.5-linux-$(uname -m).tar.gz; \ + gzip -d /tmp/cmake.tar.gz; \ + tar -xpf /tmp/cmake.tar --directory=/tmp; \ + cp -R /tmp/cmake-3.22.5-linux-$(uname -m)/* /usr; \ + rm -rf /tmp/cmake-3.22.5-linux-$(uname -m)/ + # Properly create soft link RUN ln -s /usr/bin/gcc-4.8 /usr/bin/gcc-4.8.0 RUN if [ "$TARGETARCH" = "amd64" ] ; then ln -s /usr/bin/gcc-4.9 /usr/bin/gcc-4.9.0; fi;