public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[PHP-FPM] PHP 7.3, mailparse from Git as long as no releas exists
ccc61bf2
data/Dockerfiles/phpfpm/Dockerfile | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
Diff
diff --git a/data/Dockerfiles/phpfpm/Dockerfile b/data/Dockerfiles/phpfpm/Dockerfile
index f44e1af3..de31031a 100644
--- a/data/Dockerfiles/phpfpm/Dockerfile
+++ b/data/Dockerfiles/phpfpm/Dockerfile
@@ -1,9 +1,9 @@
-FROM php:7.2-fpm-alpine3.8
+FROM php:7.3-fpm-alpine3.8
LABEL maintainer "Andre Peters <[email protected]>"
ENV APCU_PECL 5.1.16
ENV IMAGICK_PECL 3.4.3
-ENV MAILPARSE_PECL 3.0.2
+#ENV MAILPARSE_PECL 3.0.2
ENV MEMCACHED_PECL 3.1.3
ENV REDIS_PECL 4.2.0
@@ -14,6 +14,7 @@ RUN apk add -U --no-cache autoconf \
freetype \
freetype-dev \
g++ \
+ git \
gettext-dev \
icu-dev \
icu-libs \
@@ -33,6 +34,7 @@ RUN apk add -U --no-cache autoconf \
libwebp-dev \
libxml2-dev \
libxpm-dev \
+ libzip-dev \
make \
mysql-client \
openldap-dev \
@@ -41,10 +43,14 @@ RUN apk add -U --no-cache autoconf \
redis \
samba-client \
zlib-dev \
- tzdata
-
- RUN pecl install redis-${REDIS_PECL} memcached-${MEMCACHED_PECL} APCu-${APCU_PECL} imagick-${IMAGICK_PECL} mailparse-${MAILPARSE_PECL} \
- && docker-php-ext-enable apcu imagick mailparse memcached redis \
+ tzdata \
+ && git clone https://github.com/php/pecl-mail-mailparse \
+ && cd pecl-mail-mailparse \
+ && pecl install package.xml \
+ && cd .. \
+ && rm -r pecl-mail-mailparse \
+ && pecl install redis-${REDIS_PECL} memcached-${MEMCACHED_PECL} APCu-${APCU_PECL} imagick-${IMAGICK_PECL} \
+ && docker-php-ext-enable apcu imagick memcached mailparse redis \
&& pecl clear-cache \
&& docker-php-ext-configure intl \
&& docker-php-ext-configure gd \