This commit is contained in:
erikn69
2025-12-16 16:37:32 -05:00
parent aff4833646
commit 1ce05e3621
2 changed files with 8 additions and 4 deletions

View File

@@ -875,11 +875,13 @@ RUN if [ ${INSTALL_SMB} = true ]; then \
ARG INSTALL_IMAP=false
RUN if [ ${INSTALL_IMAP} = true ]; then \
RUN if [ "$INSTALL_IMAP" = "true" ] \
&& [ "$LARADOCK_PHP_VERSION" != "8.4" ] \
&& [ "$LARADOCK_PHP_VERSION" != "8.5" ]; then \
apt-get install -yqq libc-client-dev libkrb5-dev && \
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
docker-php-ext-install imap \
;fi
docker-php-ext-install imap; \
fi
###########################################################################
# Calendar:

View File

@@ -467,7 +467,9 @@ RUN if [ ${INSTALL_TAINT} = true ]; then \
ARG INSTALL_IMAP=false
RUN if [ ${INSTALL_IMAP} = true ]; then \
RUN if [ ${INSTALL_IMAP} = true ] \
&& [ "$LARADOCK_PHP_VERSION" != "8.4" ] \
&& [ "$LARADOCK_PHP_VERSION" != "8.5" ]; then \
apk add --update imap-dev && \
docker-php-ext-configure imap --with-imap --with-imap-ssl && \
docker-php-ext-install imap \