images/actions/php/Dockerfile aktualisiert
Some checks failed
CI / build_act (push) Successful in 3m37s
CI / build_php (8.1) (push) Failing after 1m58s
CI / build_php (8.2) (push) Failing after 2m15s
CI / build_java (17) (push) Successful in 4m16s
CI / build_java (1_8_0) (push) Successful in 2m38s
CI / build_java (21) (push) Successful in 2m36s

This commit is contained in:
Snoweuph 2024-04-25 17:14:22 +00:00
parent f9c809b17c
commit 386fa9ba2f

View file

@ -12,6 +12,4 @@ RUN \
major_version=$(echo ${PACKAGE_VERSION} | cut -d. -f1) && \ major_version=$(echo ${PACKAGE_VERSION} | cut -d. -f1) && \
minor_version=$(echo ${PACKAGE_VERSION} | cut -d. -f2) && \ minor_version=$(echo ${PACKAGE_VERSION} | cut -d. -f2) && \
sudo zypper -n addlock "php${major_version} < ${PACKAGE_VERSION}"; \ sudo zypper -n addlock "php${major_version} < ${PACKAGE_VERSION}"; \
version_upper_bound="${major_version}.$((minor_version + 1))" && \ version_upper_bound="${major_version}.$((minor_version + 1))" && \libxml2-2
sudo zypper -n addlock "php${major_version} >= ${version_upper_bound}" && \
sudo zypper -n install "php${major_version}" php-composer2