From 77512a09b4e0001db1c8275d3bdab10ff67b949a Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Tue, 11 Aug 2020 21:40:29 +0100 Subject: [PATCH] :sparkles: Add support for IMAP Signed-off-by: Luke Tainton --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a1e92d5..aa221c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,5 +2,8 @@ FROM php:apache LABEL maintainer="Luke Tainton " 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