From dc6ce2bf126747e8afd179e3b9a6c1fcebdd89bb Mon Sep 17 00:00:00 2001 From: jknapp Date: Wed, 1 Apr 2026 10:55:26 -0700 Subject: [PATCH] Upgrade base image from AlmaLinux 9 to AlmaLinux 10 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) --- Dockerfile | 6 +++--- Dockerfile.fpm | 6 +++--- Dockerfile.shared-httpd | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6a58f9a..bb12f64 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM almalinux/9-base +FROM almalinux/10-base ARG PHPVER=83 # Install repos, update, install only needed packages, clean up in one layer RUN dnf install -y \ - https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \ - https://rpms.remirepo.net/enterprise/remi-release-9.rpm && \ + https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm \ + https://rpms.remirepo.net/enterprise/remi-release-10.rpm && \ dnf update -y && \ 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 && \ diff --git a/Dockerfile.fpm b/Dockerfile.fpm index 121a2fe..8f5d2d7 100644 --- a/Dockerfile.fpm +++ b/Dockerfile.fpm @@ -1,10 +1,10 @@ -FROM almalinux/9-base +FROM almalinux/10-base ARG PHPVER=83 # Install repos, update, install only needed packages (no httpd/mod_ssl), clean up in one layer RUN dnf install -y \ - https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \ - https://rpms.remirepo.net/enterprise/remi-release-9.rpm && \ + https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm \ + https://rpms.remirepo.net/enterprise/remi-release-10.rpm && \ dnf update -y && \ 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 && \ diff --git a/Dockerfile.shared-httpd b/Dockerfile.shared-httpd index 088dd9a..287e151 100644 --- a/Dockerfile.shared-httpd +++ b/Dockerfile.shared-httpd @@ -1,10 +1,10 @@ -FROM almalinux/9-base +FROM almalinux/10-base # Install Apache and minimal dependencies (no PHP at all) 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 install -y --allowerasing httpd mod_ssl iproute cronie procps curl && \ + dnf install -y httpd mod_ssl iproute cronie procps curl && \ dnf clean all && \ rm -rf /var/cache/dnf /usr/share/doc /usr/share/man /usr/share/locale/*