Adding support for IMAP on php-worker
This commit is contained in:
parent
6b16f2b479
commit
9d10b5a7ef
|
@ -289,6 +289,7 @@ services:
|
||||||
- INSTALL_TAINT=${PHP_WORKER_INSTALL_TAINT}
|
- INSTALL_TAINT=${PHP_WORKER_INSTALL_TAINT}
|
||||||
- INSTALL_FFMPEG=${PHP_WORKER_INSTALL_FFMPEG}
|
- INSTALL_FFMPEG=${PHP_WORKER_INSTALL_FFMPEG}
|
||||||
- INSTALL_REDIS=${PHP_WORKER_INSTALL_REDIS}
|
- INSTALL_REDIS=${PHP_WORKER_INSTALL_REDIS}
|
||||||
|
- INSTALL_IMAP=${PHP_WORKER_INSTALL_IMAP}
|
||||||
- PUID=${PHP_WORKER_PUID}
|
- PUID=${PHP_WORKER_PUID}
|
||||||
- PGID=${PHP_WORKER_PGID}
|
- PGID=${PHP_WORKER_PGID}
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -255,6 +255,7 @@ PHP_WORKER_INSTALL_FFMPEG=false
|
||||||
PHP_WORKER_INSTALL_CASSANDRA=false
|
PHP_WORKER_INSTALL_CASSANDRA=false
|
||||||
PHP_WORKER_INSTALL_GEARMAN=false
|
PHP_WORKER_INSTALL_GEARMAN=false
|
||||||
PHP_WORKER_INSTALL_REDIS=false
|
PHP_WORKER_INSTALL_REDIS=false
|
||||||
|
PHP_WORKER_INSTALL_IMAP=false
|
||||||
|
|
||||||
PHP_WORKER_PUID=1000
|
PHP_WORKER_PUID=1000
|
||||||
PHP_WORKER_PGID=1000
|
PHP_WORKER_PGID=1000
|
||||||
|
|
|
@ -217,6 +217,18 @@ RUN if [ ${INSTALL_TAINT} = true ]; then \
|
||||||
docker-php-ext-enable taint \
|
docker-php-ext-enable taint \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
# Imap EXTENSION
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
ARG INSTALL_IMAP=false
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_IMAP} = true ]; then \
|
||||||
|
apk add --update imap-dev openssl-dev && \
|
||||||
|
docker-php-ext-configure imap --with-imap --with-imap-ssl && \
|
||||||
|
docker-php-ext-install imap \
|
||||||
|
;fi
|
||||||
|
|
||||||
#
|
#
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Optional Supervisord Configuration
|
# Optional Supervisord Configuration
|
||||||
|
|
Loading…
Reference in New Issue