Merge pull request #2608 from tancou/add-imap-worker-support
Adding support for IMAP on php-worker
This commit is contained in:
commit
ae58620386
@ -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
Block a user