From 701c01fb917c3ba8d3d548d2c7c3574177a8caff Mon Sep 17 00:00:00 2001 From: Boris Gallet Date: Fri, 2 Feb 2024 09:45:38 +0100 Subject: [PATCH] fix: [rallly] add version_gt --- rallly/hooks/init | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rallly/hooks/init b/rallly/hooks/init index ae52654..055affd 100755 --- a/rallly/hooks/init +++ b/rallly/hooks/init @@ -2,6 +2,8 @@ set -e +version_gt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1"; } + ## bug: https://github.com/adoptium/containers/issues/215#issuecomment-1142046045 docker_version=$(docker info --format '{{.ServerVersion}}') if ! version_gt "$docker_version" 20.10.0; then -- 2.30.2