summaryrefslogtreecommitdiffstats
path: root/ubi9-remi-php83.dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'ubi9-remi-php83.dockerfile')
-rw-r--r--ubi9-remi-php83.dockerfile19
1 files changed, 19 insertions, 0 deletions
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"]
+