Fix PHP image
All checks were successful
CI / build (push) Successful in 2m29s

This commit is contained in:
Snoweuph 2024-03-03 13:15:43 +00:00
parent d9e6a6c025
commit 7385345aa1

View file

@ -1,10 +1,7 @@
FROM git.euph.dev/actions/runner-basic:latest
#RUN sudo wget 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 addrepo "devel:languages:php.repo"
RUN sudo zypper -n refs && sudo zypper -n refresh
#RUN sudo zypper addrepo -f https://download.opensuse.org/repositories/devel:/languages:/php/openSUSE_Leap_15.5/ PHP-OpenSUSE
#RUN sudo zypper -n refresh
RUN sudo zypper -n addrepo https://download.opensuse.org/repositories/devel:languages:php/openSUSE_Factory/devel:languages:php.repo
RUN sudo zypper -n --gpg-auto-import-keys refresh
RUN sudo zypper -n install php
RUN php -v && exit 1
RUN php -v