From b821a9ea7cd28daa003feb9740cb5f3909f6f84f Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Fri, 26 Apr 2024 20:00:02 +0000 Subject: [PATCH] images/actions/php/Dockerfile aktualisiert --- images/actions/php/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/actions/php/Dockerfile b/images/actions/php/Dockerfile index 8f51604..c554805 100644 --- a/images/actions/php/Dockerfile +++ b/images/actions/php/Dockerfile @@ -10,7 +10,7 @@ RUN sudo zypper -n update RUN \ major_version=$(echo ${PACKAGE_VERSION} | cut -d. -f1) && \ minor_version=$(echo ${PACKAGE_VERSION} | cut -d. -f2) && \ - sudo zypper -n addlock "php${major_version} < ${PACKAGE_VERSION}"; \ + sudo zypper -n addlock "php${major_version} < ${major_version}.${minor_version}"; \ version_upper_bound="${major_version}.$((minor_version + 1))" && \ sudo zypper -n addlock "php${major_version} >= ${version_upper_bound}" && \ sudo zypper -n install "php${major_version}"