Files
moby/hack/dockerfile
Sebastiaan van Stijn 02c0f96405 hack/dockerfile: fix tini build with newer CMake versions
The script is failing on Fedora 44, which ships with a newer version of
CMake that dropped removed compatibility with CMake < 3.5

    + install_tini
    + echo 'Install tini version v0.19.0'
    Install tini version v0.19.0
    + git clone https://github.com/krallin/tini.git /go/tini
    Cloning into '/go/tini'...
    + cd /go/tini
    + git checkout -q v0.19.0
    + cmake .
    CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 3.5 has been removed from CMake.

      Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
      to tell CMake that the project requires at least <min> but has been updated
      to work with policies introduced by <max> or earlier.

      Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-02-17 18:49:24 +01:00
..