summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2018-09-02 12:02:05 +0200
committerMatthieu Saulnier <fantom@fedoraproject.org>2018-09-02 12:02:05 +0200
commitaa8c5d24f8e7373de1c65fc7d27dce1f557c56de (patch)
tree4ae8d00ac9b3d149aa1855b84f76d8ed394643de
parent2ecaf0dd63e8463fced184e2f8c4124ca1360f82 (diff)
downloadphp-fpm-aa8c5d24f8e7373de1c65fc7d27dce1f557c56de.zip
php-fpm-aa8c5d24f8e7373de1c65fc7d27dce1f557c56de.tar.gz
php-fpm-aa8c5d24f8e7373de1c65fc7d27dce1f557c56de.tar.xz
Update to 7.2.9 and add zip and redis php modules
-rw-r--r--Dockerfile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 9bfc113..bafa231 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,6 +6,7 @@ RUN dnf -y update && dnf clean all
RUN dnf -y install yum-utils && dnf clean all
+#
# PHP stack provided by Remi Repository <https://rpms.remirepo.net/>
# Table of versions of PHP for Fedora:
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -13,11 +14,15 @@ RUN dnf -y install yum-utils && dnf clean all
# | fc25 | 7.0.27 |
# | fc24 | 5.6.33 |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
+#
RUN rpm -ivh https://rpms.remirepo.net/fedora/27/remi/x86_64/remi-release-27-2.fc27.remi.noarch.rpm && \
yum-config-manager --enable remi remi-php72
+#
+# Package list for general webapps such as dotclear, wordpress, nextcloud and
+# many others in production use case.
+#
RUN dnf -y install php-fpm \
php-php-gettext \
php-mysqlnd \
@@ -39,7 +44,11 @@ RUN dnf -y install php-fpm \
php-gd \
php-pecl-memcache \
php-pecl-memcached \
+ php-pecl-zip \
+ php-pecl-redis \
&& dnf clean all
+# Print php modules installed (useless with cache of docker build)
+RUN php -m
EXPOSE 9000