From 9e5bdcf422850ad021aa058908a3da333412fddd Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 1 Feb 2024 16:21:07 +0100 Subject: add some EL-9 test images --- alma9-remi-php83.dockerfile | 18 ++++++++++++++++++ rocky9-remi-php81.dockerfile | 14 ++++++++++++++ ubi9-remi-php83.dockerfile | 19 +++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 alma9-remi-php83.dockerfile create mode 100644 rocky9-remi-php81.dockerfile create mode 100644 ubi9-remi-php83.dockerfile diff --git a/alma9-remi-php83.dockerfile b/alma9-remi-php83.dockerfile new file mode 100644 index 0000000..ec36fbb --- /dev/null +++ b/alma9-remi-php83.dockerfile @@ -0,0 +1,18 @@ +FROM registry.access.redhat.com/ubi9:latest + +# podman build -t ubi9php83 -f ubi9-remi-php83.dockerfile . +# podman run --rm -ti ubi9php83 + +RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \ + https://rpms.remirepo.net/enterprise/remi-release-9.rpm && \ + dnf -y module enable php:remi-8.3 && \ + dnf -y install httpd php php-cli php-common \ + php-sodium \ + php-json \ + php-mbstring \ + php-xml \ + && dnf clean all + +ENTRYPOINT ["php"] +CMD ["-a"] + diff --git a/rocky9-remi-php81.dockerfile b/rocky9-remi-php81.dockerfile new file mode 100644 index 0000000..2e2b975 --- /dev/null +++ b/rocky9-remi-php81.dockerfile @@ -0,0 +1,14 @@ +FROM rockylinux:9 + +# podman build -t rocky9php81 -f rocky-remi-php81.dockerfile . +# podman run --rm -ti rocky9php81 + +RUN dnf -y install 'dnf-command(config-manager)' +RUN dnf config-manager --set-enabled crb +RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm +RUN dnf -y install https://rpms.remirepo.net/enterprise/remi-release-9.rpm +RUN dnf -y module list php +RUN dnf -y module install php:remi-8.1/devel + +ENTRYPOINT ["php"] +CMD ["-a"] diff --git a/ubi9-remi-php83.dockerfile b/ubi9-remi-php83.dockerfile new file mode 100644 index 0000000..fb2901c --- /dev/null +++ b/ubi9-remi-php83.dockerfile @@ -0,0 +1,19 @@ +FROM almalinux:9 + +# podman build -t alma9php83 -f alma9-remi-php83.dockerfile . +# podman run --rm -ti alma9php83 + +RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \ + https://rpms.remirepo.net/enterprise/remi-release-9.rpm && \ + dnf -y module enable php:remi-8.3 && \ + dnf -y install httpd php php-cli php-common \ + php-sodium \ + php-json \ + php-mbstring \ + php-imagick \ + php-xml \ + && dnf clean all + +ENTRYPOINT ["php"] +CMD ["-a"] + -- cgit