Add support for IMAP

Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit is contained in:
Luke Tainton
2020-08-11 21:40:29 +01:00
parent c863279487
commit 77512a09b4

View File

@@ -2,5 +2,8 @@ FROM php:apache
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
COPY --chown=www-data:www-data hesk /srv
COPY vhost.conf /etc/apache2/sites-enabled/000-default.conf
RUN docker-php-ext-install mysqli imap
RUN a2enmod rewrite
RUN apt-get update && \
apt-get install -y libc-client-dev libkrb5-dev && \
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
docker-php-ext-install mysqli imap && \
a2enmod rewrite