Files
hesk-docker/Dockerfile
Luke Tainton 77512a09b4 Add support for IMAP
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-11 21:40:29 +01:00

10 lines
382 B
Docker

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 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