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 82a0eed commit 10f6350
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 @@ -50,6 +50,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 @@ -50,6 +50,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 @@ -62,6 +62,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 @@ -52,10 +52,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 @@ -48,6 +48,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 @@ -48,6 +48,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 @@ -72,6 +72,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 @@ -60,6 +60,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 @@ -50,10 +50,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 @@ -77,6 +77,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 10f6350

Please sign in to comment.