From 4ca4604ce8547c13901af2324f5ef1247649a519 Mon Sep 17 00:00:00 2001 From: Dylan Bray Date: Tue, 17 Sep 2024 12:06:28 -0600 Subject: [PATCH] Remove version string format om checkDockerversion --- OracleRestDataServices/dockerfiles/buildContainerImage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OracleRestDataServices/dockerfiles/buildContainerImage.sh b/OracleRestDataServices/dockerfiles/buildContainerImage.sh index bcdcb960be..bb0a7d073c 100755 --- a/OracleRestDataServices/dockerfiles/buildContainerImage.sh +++ b/OracleRestDataServices/dockerfiles/buildContainerImage.sh @@ -80,7 +80,7 @@ checkPodmanVersion() { checkDockerVersion() { # Get Docker Server version echo "Checking Docker version." - DOCKER_VERSION=$("${CONTAINER_RUNTIME}" version --format '{{.Server.Version | printf "%.5s" }}'|| exit 0) + DOCKER_VERSION=$("${CONTAINER_RUNTIME}" version --format '{{.Server.Version }}'|| exit 0) # Remove dot in Docker version DOCKER_VERSION=${DOCKER_VERSION//./}