Use latest available PHP version (8.2) on EL and derivatives

This commit is contained in:
Alexey Pustovalov 2024-07-23 18:13:50 +09:00
parent 8269cadced
commit 23cbac1e50
10 changed files with 35 additions and 2 deletions

View File

@ -49,6 +49,12 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
glibc-locale-source \
shadow-utils \
supervisor" && \
microdnf -y module enable \
--disablerepo "*" \
--enablerepo "appstream" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
php:8.2 && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "extras-common" \

View File

@ -49,6 +49,12 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
findutils \
glibc-locale-source \
supervisor" && \
microdnf -y module enable \
--disablerepo "*" \
--enablerepo "ol9_appstream" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
php:8.2 && \
microdnf -y install \
--disablerepo="*" \
--enablerepo="ol9_baseos_latest" \

View File

@ -61,6 +61,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--enablerepo "appstream" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
php:8.2 \
postgresql:16 && \
microdnf -y install \
--disablerepo "*" \

View File

@ -51,10 +51,10 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
supervisor" && \
microdnf -y module enable \
--disablerepo "*" \
--enablerepo "ol9_baseos_latest" \
--enablerepo "ol9_appstream" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
php:8.2 \
postgresql:16 && \
microdnf -y install \
--disablerepo="*" \

View File

@ -47,6 +47,12 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
glibc-locale-source \
shadow-utils \
supervisor" && \
microdnf -y module enable \
--disablerepo "*" \
--enablerepo "appstream" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
php:8.2 && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "extras-common" \

View File

@ -47,6 +47,12 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
findutils \
glibc-locale-source \
supervisor" && \
microdnf -y module enable \
--disablerepo "*" \
--enablerepo "ol9_appstream" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
php:8.2 && \
microdnf -y install \
--disablerepo="*" \
--enablerepo="ol9_baseos_latest" \

View File

@ -71,6 +71,12 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
ARCH_SUFFIX="$(arch)"; \
microdnf -y module enable \
--disablerepo "*" \
--enablerepo "rhel-9-for-$ARCH_SUFFIX-appstream-rpms" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
php:8.2 && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "ubi-9-baseos-rpms" \

View File

@ -59,6 +59,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--enablerepo "appstream" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
php:8.2 \
postgresql:16 && \
microdnf -y install \
--disablerepo "*" \

View File

@ -49,10 +49,10 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
supervisor" && \
microdnf -y module enable \
--disablerepo "*" \
--enablerepo "ol9_baseos_latest" \
--enablerepo "ol9_appstream" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
php:8.2 \
postgresql:16 && \
microdnf -y install \
--disablerepo="*" \

View File

@ -76,6 +76,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--enablerepo "rhel-9-for-$ARCH_SUFFIX-appstream-rpms" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
php:8.2 \
postgresql:16 && \
microdnf -y install \
--disablerepo "*" \