summaryrefslogtreecommitdiffstats
path: root/ubi8-remi-php74.dockerfile
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-11-26 15:13:15 +0100
committerRemi Collet <remi@remirepo.net>2020-11-26 15:13:15 +0100
commitb35abd6303fbee73d1b0075c9c505e22966ec118 (patch)
tree038185a69caa730d32cf9707322aa1bbfb8e9af3 /ubi8-remi-php74.dockerfile
parent178635108a3458d42e43cbaf632fe53a6e00f860 (diff)
add test for official ubi8/php-74 image
Diffstat (limited to 'ubi8-remi-php74.dockerfile')
-rw-r--r--ubi8-remi-php74.dockerfile15
1 files changed, 15 insertions, 0 deletions
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"]
+