images/actions/php/Dockerfile aktualisiert
Some checks failed
CI / build_act (push) Successful in 3m19s
CI / build_java (17) (push) Successful in 2m53s
CI / build_java (21) (push) Successful in 3m31s
CI / build_php (8.2) (push) Failing after 38s
CI / build_php (8.1) (push) Failing after 1m58s
CI / build_java (1_8_0) (push) Has been cancelled
Some checks failed
CI / build_act (push) Successful in 3m19s
CI / build_java (17) (push) Successful in 2m53s
CI / build_java (21) (push) Successful in 3m31s
CI / build_php (8.2) (push) Failing after 38s
CI / build_php (8.1) (push) Failing after 1m58s
CI / build_java (1_8_0) (push) Has been cancelled
This commit is contained in:
parent
cedde29b84
commit
b3c114910f
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@ ARG PACKAGE_VERSION
|
||||||
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||||
|
|
||||||
RUN sudo zypper -n addrepo https://download.opensuse.org/repositories/devel:languages:php/openSUSE_Leap_$(grep -oP '(?<=^VERSION_ID=).+' /etc/os-release | tr -d '"')/devel:languages:php.repo
|
RUN sudo zypper -n addrepo https://download.opensuse.org/repositories/devel:languages:php/openSUSE_Leap_$(grep -oP '(?<=^VERSION_ID=).+' /etc/os-release | tr -d '"')/devel:languages:php.repo
|
||||||
|
RUN sudo zypper -n addrepo https://download.opensuse.org/repositories/server:php:applications/$(grep -oP '(?<=^VERSION_ID=).+' /etc/os-release | tr -d '"')server:php:applications.repo
|
||||||
RUN sudo zypper -n --gpg-auto-import-keys refresh
|
RUN sudo zypper -n --gpg-auto-import-keys refresh
|
||||||
RUN sudo zypper -n update
|
RUN sudo zypper -n update
|
||||||
|
|
||||||
|
@ -13,4 +14,4 @@ RUN \
|
||||||
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))" && \
|
||||||
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}" composer
|
sudo zypper -n install "php${major_version}" php-composer-2
|
Loading…
Reference in a new issue