summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-07-11 15:03:06 +0200
committerRemi Collet <remi@php.net>2023-07-11 15:03:06 +0200
commitd8cf4e527ceb1c46f7677140de947c6a98dc17f9 (patch)
tree11c9baf71cc72305d7fce74c3076f02ff0b821fc
parent6ff8b77f8451c4f59689bbf750981653fa1013d9 (diff)
add php-fpm 7.3 simple image
-rw-r--r--ubi8-remi-php73-fpm.dockerfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/ubi8-remi-php73-fpm.dockerfile b/ubi8-remi-php73-fpm.dockerfile
new file mode 100644
index 0000000..60446ee
--- /dev/null
+++ b/ubi8-remi-php73-fpm.dockerfile
@@ -0,0 +1,17 @@
+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.3 && \
+ dnf -y install php-fpm php-cli php-common \
+ php-sodium \
+ php-json \
+ php-mbstring \
+ php-xml \
+ && dnf clean all
+
+RUN mkdir /var/run/php-fpm
+
+ENTRYPOINT ["php-fpm"]
+CMD ["--nodaemonize"]
+