File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ services:
106106 - INSTALL_MYSQL_CLIENT=${WORKSPACE_INSTALL_MYSQL_CLIENT}
107107 - INSTALL_PING=${WORKSPACE_INSTALL_PING}
108108 - INSTALL_SSHPASS=${WORKSPACE_INSTALL_SSHPASS}
109+ - INSTALL_MAILPARSE=${WORKSPACE_INSTALL_MAILPARSE}
109110 - PUID=${WORKSPACE_PUID}
110111 - PGID=${WORKSPACE_PGID}
111112 - CHROME_DRIVER_VERSION=${WORKSPACE_CHROME_DRIVER_VERSION}
@@ -183,6 +184,7 @@ services:
183184 - INSTALL_MYSQL_CLIENT=${PHP_FPM_INSTALL_MYSQL_CLIENT}
184185 - INSTALL_PING=${PHP_FPM_INSTALL_PING}
185186 - INSTALL_SSHPASS=${PHP_FPM_INSTALL_SSHPASS}
187+ - INSTALL_MAILPARSE=${PHP_FPM_INSTALL_MAILPARSE}
186188 - ADDITIONAL_LOCALES=${PHP_FPM_ADDITIONAL_LOCALES}
187189 - INSTALL_FFMPEG=${PHP_FPM_FFMPEG}
188190 - http_proxy
Original file line number Diff line number Diff line change @@ -137,6 +137,7 @@ WORKSPACE_INSTALL_PING=false
137137WORKSPACE_INSTALL_SSHPASS=false
138138WORKSPACE_INSTALL_INOTIFY=false
139139WORKSPACE_INSTALL_FSWATCH=false
140+ WORKSPACE_INSTALL_MAILPARSE=true
140141WORKSPACE_PUID=1000
141142WORKSPACE_PGID=1000
142143WORKSPACE_CHROME_DRIVER_VERSION=2.42
@@ -188,6 +189,7 @@ PHP_FPM_INSTALL_ADDITIONAL_LOCALES=false
188189PHP_FPM_INSTALL_MYSQL_CLIENT=false
189190PHP_FPM_INSTALL_PING=false
190191PHP_FPM_INSTALL_SSHPASS=false
192+ PHP_FPM_INSTALL_MAILPARSE=true
191193PHP_FPM_FFMPEG=false
192194PHP_FPM_ADDITIONAL_LOCALES="es_ES.UTF-8 fr_FR.UTF-8"
193195
Original file line number Diff line number Diff line change @@ -725,6 +725,19 @@ RUN if [ ${INSTALL_FFMPEG} = true ]; then \
725725 apt-get -y install ffmpeg \
726726;fi
727727
728+ # ##########################################################################
729+ # Mailparse extension:
730+ # ##########################################################################
731+
732+ ARG INSTALL_MAILPARSE=false
733+
734+ RUN if [ ${INSTALL_MAILPARSE} = true ]; then \
735+ # Install mailparse extension
736+ printf "\n " | pecl install -o -f mailparse \
737+ && rm -rf /tmp/pear \
738+ && docker-php-ext-enable mailparse \
739+ ;fi
740+
728741# ##########################################################################
729742# Check PHP version:
730743# ##########################################################################
Original file line number Diff line number Diff line change @@ -1057,6 +1057,16 @@ RUN if [ ${INSTALL_FFMPEG} = true ]; then \
10571057 apt-get -y install ffmpeg \
10581058;fi
10591059
1060+ # ##########################################################################
1061+ # Mailparse extension:
1062+ # ##########################################################################
1063+
1064+ ARG INSTALL_MAILPARSE=false
1065+
1066+ RUN if [ ${INSTALL_MAILPARSE} = true ]; then \
1067+ apt-get install -yqq php-mailparse \
1068+ ;fi
1069+
10601070# ##########################################################################
10611071# GNU Parallel:
10621072# ##########################################################################
You can’t perform that action at this time.
0 commit comments