Upgrade base image from AlmaLinux 9 to AlmaLinux 10
Some checks failed
Cloud Apache Container / Build-and-Push (74) (push) Failing after 1m14s
Cloud Apache Container / Build-and-Push (80) (push) Failing after 1m46s
Cloud Apache Container / Build-and-Push (81) (push) Failing after 2m11s
Cloud Apache Container / Build-and-Push (82) (push) Failing after 1m7s
Cloud Apache Container / Build-and-Push (83) (push) Failing after 1m6s
Cloud Apache Container / Build-and-Push (84) (push) Failing after 1m53s
Cloud Apache Container / Build-and-Push (85) (push) Failing after 1m14s
Cloud Apache Container / Build-FPM-Images (74) (push) Successful in 2m7s
Cloud Apache Container / Build-FPM-Images (81) (push) Has been cancelled
Cloud Apache Container / Build-FPM-Images (82) (push) Has been cancelled
Cloud Apache Container / Build-FPM-Images (83) (push) Has been cancelled
Cloud Apache Container / Build-FPM-Images (84) (push) Has been cancelled
Cloud Apache Container / Build-FPM-Images (85) (push) Has been cancelled
Cloud Apache Container / Build-Shared-httpd (push) Has been cancelled
Cloud Apache Container / Build-FPM-Images (80) (push) Has been cancelled

Bump all three Dockerfiles to almalinux/10-base with matching EPEL 10
and Remi 10 repository URLs. AlmaLinux 10.1 has been stable since Nov
2025. All PHP versions (7.4-8.5) confirmed available via Remi for EL10.

Also removes --allowerasing from shared-httpd Dockerfile since AL10
base does not ship curl-minimal.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-01 10:55:26 -07:00
parent fc55752379
commit dc6ce2bf12
3 changed files with 9 additions and 9 deletions

View File

@@ -1,10 +1,10 @@
FROM almalinux/9-base FROM almalinux/10-base
ARG PHPVER=83 ARG PHPVER=83
# Install repos, update, install only needed packages, clean up in one layer # Install repos, update, install only needed packages, clean up in one layer
RUN dnf install -y \ RUN dnf install -y \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \ https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm \
https://rpms.remirepo.net/enterprise/remi-release-9.rpm && \ https://rpms.remirepo.net/enterprise/remi-release-10.rpm && \
dnf update -y && \ dnf update -y && \
dnf install -y httpd mod_ssl wget procps cronie iproute postgresql-devel microdnf less git \ dnf install -y httpd mod_ssl wget procps cronie iproute postgresql-devel microdnf less git \
nano rsync unzip zip mariadb bind-utils jq patch nc tree dos2unix && \ nano rsync unzip zip mariadb bind-utils jq patch nc tree dos2unix && \

View File

@@ -1,10 +1,10 @@
FROM almalinux/9-base FROM almalinux/10-base
ARG PHPVER=83 ARG PHPVER=83
# Install repos, update, install only needed packages (no httpd/mod_ssl), clean up in one layer # Install repos, update, install only needed packages (no httpd/mod_ssl), clean up in one layer
RUN dnf install -y \ RUN dnf install -y \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \ https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm \
https://rpms.remirepo.net/enterprise/remi-release-9.rpm && \ https://rpms.remirepo.net/enterprise/remi-release-10.rpm && \
dnf update -y && \ dnf update -y && \
dnf install -y wget procps cronie iproute postgresql-devel microdnf less git \ dnf install -y wget procps cronie iproute postgresql-devel microdnf less git \
nano rsync unzip zip mariadb bind-utils jq patch nc tree dos2unix fcgi && \ nano rsync unzip zip mariadb bind-utils jq patch nc tree dos2unix fcgi && \

View File

@@ -1,10 +1,10 @@
FROM almalinux/9-base FROM almalinux/10-base
# Install Apache and minimal dependencies (no PHP at all) # Install Apache and minimal dependencies (no PHP at all)
RUN dnf install -y \ RUN dnf install -y \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \ https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm && \
dnf update -y && \ dnf update -y && \
dnf install -y --allowerasing httpd mod_ssl iproute cronie procps curl && \ dnf install -y httpd mod_ssl iproute cronie procps curl && \
dnf clean all && \ dnf clean all && \
rm -rf /var/cache/dnf /usr/share/doc /usr/share/man /usr/share/locale/* rm -rf /var/cache/dnf /usr/share/doc /usr/share/man /usr/share/locale/*