images/actions/php/Dockerfile aktualisiert
Some checks failed
CI / build_act (push) Successful in 3m57s
CI / build_php (8.2) (push) Failing after 1m40s
CI / build_php (8.1) (push) Failing after 1m30s
CI / build_java (17) (push) Successful in 2m48s
CI / build_java (1_8_0) (push) Successful in 2m36s
CI / build_java (21) (push) Successful in 2m30s

This commit is contained in:
Snoweuph 2024-04-26 20:00:02 +00:00
parent 807a96ff8c
commit b821a9ea7c

View file

@ -10,7 +10,7 @@ RUN sudo zypper -n update
RUN \ 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} < ${major_version}.${minor_version}"; \
version_upper_bound="${major_version}.$((minor_version + 1))" && \ version_upper_bound="${major_version}.$((minor_version + 1))" && \
sudo zypper -n addlock "php${major_version} >= ${version_upper_bound}" && \ sudo zypper -n addlock "php${major_version} >= ${version_upper_bound}" && \
sudo zypper -n install "php${major_version}" sudo zypper -n install "php${major_version}"