diff --git a/images/actions/php/Dockerfile b/images/actions/php/Dockerfile index d2c66cb..3736285 100644 --- a/images/actions/php/Dockerfile +++ b/images/actions/php/Dockerfile @@ -4,6 +4,7 @@ ARG 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/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 update @@ -13,4 +14,4 @@ RUN \ sudo zypper -n addlock "php${major_version} < ${PACKAGE_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}" composer \ No newline at end of file + sudo zypper -n install "php${major_version}" php-composer-2 \ No newline at end of file