From b35abd6303fbee73d1b0075c9c505e22966ec118 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 26 Nov 2020 15:13:15 +0100 Subject: add test for official ubi8/php-74 image --- ubi8-php74.dockerfile | 12 ++---------- ubi8-remi-php74.dockerfile | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 ubi8-remi-php74.dockerfile diff --git a/ubi8-php74.dockerfile b/ubi8-php74.dockerfile index 73e7520..65c9575 100644 --- a/ubi8-php74.dockerfile +++ b/ubi8-php74.dockerfile @@ -1,14 +1,6 @@ -FROM registry.access.redhat.com/ubi8:latest +FROM registry.access.redhat.com/ubi8/php-74:latest -RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \ - https://rpms.remirepo.net/enterprise/remi-release-8.rpm && \ - dnf -y module enable php:remi-7.4 && \ - dnf -y install httpd php php-cli php-common \ - php-sodium \ - php-json \ - php-mbstring \ - php-xml \ - && dnf clean all +RUN rpm -qa php\* | sort ENTRYPOINT ["php"] CMD ["-a"] diff --git a/ubi8-remi-php74.dockerfile b/ubi8-remi-php74.dockerfile new file mode 100644 index 0000000..73e7520 --- /dev/null +++ b/ubi8-remi-php74.dockerfile @@ -0,0 +1,15 @@ +FROM registry.access.redhat.com/ubi8:latest + +RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \ + https://rpms.remirepo.net/enterprise/remi-release-8.rpm && \ + dnf -y module enable php:remi-7.4 && \ + dnf -y install httpd php php-cli php-common \ + php-sodium \ + php-json \ + php-mbstring \ + php-xml \ + && dnf clean all + +ENTRYPOINT ["php"] +CMD ["-a"] + -- cgit