2018-10-14 14:29:03 +02:00
|
|
|
FROM php:7.2-fpm-alpine3.8
|
2017-05-13 15:33:32 +02:00
|
|
|
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
|
2017-03-02 12:23:23 +02:00
|
|
|
|
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
[Docker API] Create pipe to pass Rspamd UI worker password
[Dovecot] Pull Spamassassin ruleset to be read by Rspamd (MANY THANKS to Peer Heinlein!)
[Dovecot] Garbage collector for deleted maildirs (set keep time via MAILDIR_GC_TIME which defaults to 1440 minutes)
[Web] Flush memcached after mailbox item changes, fixes #1808
[Web] Fix duplicate IDs, fixes #1792
[Compose] Use SQL sockets
[PHP-FPM] Update APCu and Redis libs
[Dovecot] Encrypt maildir with global key pair in crypt-vol-1 (BACKUP!), also fixes #1791
[Web] Fix deletion of spam aliases
[Helper] Add "crypt" to backup script
[Helper] Override file for external SQL socket (not supported!)
[Compose] New images for Rspamd, PHP-FPM, SOGo, Dovecot, Docker API, Watchdog, ACME, Postfix
2018-09-29 22:01:23 +02:00
|
|
|
ENV APCU_PECL 5.1.12
|
2017-10-21 10:10:27 +02:00
|
|
|
ENV IMAGICK_PECL 3.4.3
|
2018-01-21 16:01:02 +02:00
|
|
|
ENV MAILPARSE_PECL 3.0.2
|
2018-04-26 13:51:55 +02:00
|
|
|
ENV MEMCACHED_PECL 3.0.4
|
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
[Docker API] Create pipe to pass Rspamd UI worker password
[Dovecot] Pull Spamassassin ruleset to be read by Rspamd (MANY THANKS to Peer Heinlein!)
[Dovecot] Garbage collector for deleted maildirs (set keep time via MAILDIR_GC_TIME which defaults to 1440 minutes)
[Web] Flush memcached after mailbox item changes, fixes #1808
[Web] Fix duplicate IDs, fixes #1792
[Compose] Use SQL sockets
[PHP-FPM] Update APCu and Redis libs
[Dovecot] Encrypt maildir with global key pair in crypt-vol-1 (BACKUP!), also fixes #1791
[Web] Fix deletion of spam aliases
[Helper] Add "crypt" to backup script
[Helper] Override file for external SQL socket (not supported!)
[Compose] New images for Rspamd, PHP-FPM, SOGo, Dovecot, Docker API, Watchdog, ACME, Postfix
2018-09-29 22:01:23 +02:00
|
|
|
ENV REDIS_PECL 4.1.1
|
2017-10-08 22:47:52 +02:00
|
|
|
|
2018-04-26 13:51:55 +02:00
|
|
|
RUN apk add -U --no-cache autoconf \
|
|
|
|
bash \
|
|
|
|
c-client \
|
|
|
|
cyrus-sasl-dev \
|
2018-02-18 21:59:32 +02:00
|
|
|
freetype \
|
|
|
|
freetype-dev \
|
2018-04-26 13:51:55 +02:00
|
|
|
g++ \
|
2017-11-14 11:44:00 +02:00
|
|
|
gettext-dev \
|
2018-04-26 13:51:55 +02:00
|
|
|
icu-dev \
|
|
|
|
icu-libs \
|
|
|
|
imagemagick \
|
|
|
|
imagemagick-dev \
|
|
|
|
imap-dev \
|
2018-12-10 14:22:25 +02:00
|
|
|
jq \
|
2018-04-26 13:51:55 +02:00
|
|
|
libjpeg-turbo \
|
|
|
|
libjpeg-turbo-dev \
|
|
|
|
libmemcached-dev \
|
|
|
|
libpng \
|
|
|
|
libpng-dev \
|
|
|
|
libressl \
|
|
|
|
libressl-dev \
|
2017-10-21 10:10:27 +02:00
|
|
|
librsvg \
|
2018-04-26 13:51:55 +02:00
|
|
|
libtool \
|
|
|
|
libwebp-dev \
|
|
|
|
libxml2-dev \
|
|
|
|
libxpm-dev \
|
|
|
|
make \
|
|
|
|
mysql-client \
|
|
|
|
openldap-dev \
|
|
|
|
pcre-dev \
|
2018-04-26 22:04:59 +02:00
|
|
|
re2c \
|
2018-04-26 13:51:55 +02:00
|
|
|
redis \
|
|
|
|
samba-client \
|
|
|
|
zlib-dev \
|
2018-06-27 22:50:31 +02:00
|
|
|
tzdata \
|
2017-10-21 10:10:27 +02:00
|
|
|
&& pear install channel://pear.php.net/Net_IDNA2-0.2.0 \
|
|
|
|
channel://pear.php.net/Auth_SASL-1.1.0 \
|
|
|
|
Net_IMAP \
|
2017-11-03 21:27:43 +02:00
|
|
|
Net_Sieve \
|
2017-10-21 10:10:27 +02:00
|
|
|
NET_SMTP \
|
|
|
|
Mail_mime \
|
2018-04-26 13:51:55 +02:00
|
|
|
&& 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 \
|
|
|
|
&& pecl clear-cache \
|
|
|
|
&& docker-php-ext-configure intl \
|
2018-02-18 21:59:32 +02:00
|
|
|
&& docker-php-ext-configure gd \
|
2018-04-26 13:51:55 +02:00
|
|
|
--with-gd \
|
|
|
|
--enable-gd-native-ttf \
|
|
|
|
--with-freetype-dir=/usr/include/ \
|
|
|
|
--with-png-dir=/usr/include/ \
|
|
|
|
--with-jpeg-dir=/usr/include/ \
|
|
|
|
&& docker-php-ext-install -j 4 gd gettext intl ldap opcache pcntl pdo pdo_mysql soap sockets xmlrpc zip \
|
2017-10-21 10:10:27 +02:00
|
|
|
&& docker-php-ext-configure imap --with-imap --with-imap-ssl \
|
2018-04-26 13:51:55 +02:00
|
|
|
&& docker-php-ext-install -j 4 imap \
|
|
|
|
&& apk del --purge autoconf \
|
|
|
|
cyrus-sasl-dev \
|
|
|
|
freetype-dev \
|
|
|
|
g++ \
|
|
|
|
icu-dev \
|
|
|
|
imagemagick-dev \
|
|
|
|
imap-dev \
|
|
|
|
libjpeg-turbo-dev \
|
|
|
|
libpng-dev \
|
|
|
|
libressl-dev \
|
|
|
|
libwebp-dev \
|
|
|
|
libxml2-dev \
|
|
|
|
make \
|
|
|
|
pcre-dev \
|
|
|
|
zlib-dev
|
2017-10-21 10:10:27 +02:00
|
|
|
|
2017-05-29 08:45:30 +02:00
|
|
|
COPY ./docker-entrypoint.sh /
|
2017-03-02 12:23:23 +02:00
|
|
|
|
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
2017-05-29 08:45:30 +02:00
|
|
|
CMD ["php-fpm"]
|