diff options
Diffstat (limited to 'ubi8-php74.dockerfile')
-rw-r--r-- | ubi8-php74.dockerfile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ubi8-php74.dockerfile b/ubi8-php74.dockerfile new file mode 100644 index 0000000..99ba3ab --- /dev/null +++ b/ubi8-php74.dockerfile @@ -0,0 +1,11 @@ +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 php-cli php-common php-sodium php-json php-mbstring php-xml && \ + dnf clean all + +ENTRYPOINT ["php"] +CMD ["-a"] + |