Skip to content

Commit 03c7611

Browse files
Update Dockerfile-56
1 parent 48de39b commit 03c7611

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

php-fpm/Dockerfile-56

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,19 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
329329
docker-php-ext-enable imagick \
330330
;fi
331331

332+
#####################################
333+
# IMAP:
334+
#####################################
335+
ARG INSTALL_IMAP=false
336+
ENV INSTALL_IMAP ${INSTALL_IMAP}
337+
RUN if [ ${INSTALL_IMAP} = true ]; then \
338+
apt-get update && \
339+
apt-get install -y libc-client-dev libkrb5-dev && \
340+
rm -r /var/lib/apt/lists/* && \
341+
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
342+
docker-php-ext-install imap \
343+
;fi
344+
332345
#
333346
#--------------------------------------------------------------------------
334347
# Final Touch

0 commit comments

Comments
 (0)