Skip to content

Commit

Permalink
Use latest available PHP version (8.2) on EL and derivatives
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneft committed Jul 23, 2024
1 parent 8269cad commit 23cbac1
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 2 deletions.
6 changes: 6 additions & 0 deletions Dockerfiles/web-apache-mysql/centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
6 changes: 6 additions & 0 deletions Dockerfiles/web-apache-mysql/ol/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
1 change: 1 addition & 0 deletions Dockerfiles/web-apache-pgsql/centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 "*" \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/web-apache-pgsql/ol/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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="*" \
Expand Down
6 changes: 6 additions & 0 deletions Dockerfiles/web-nginx-mysql/centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
6 changes: 6 additions & 0 deletions Dockerfiles/web-nginx-mysql/ol/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
6 changes: 6 additions & 0 deletions Dockerfiles/web-nginx-mysql/rhel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
1 change: 1 addition & 0 deletions Dockerfiles/web-nginx-pgsql/centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 "*" \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/web-nginx-pgsql/ol/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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="*" \
Expand Down
1 change: 1 addition & 0 deletions Dockerfiles/web-nginx-pgsql/rhel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 "*" \
Expand Down

0 comments on commit 23cbac1

Please sign in to comment.