Added support for the mailparse php pecl extension
This commit is contained in:
		@@ -725,6 +725,19 @@ RUN if [ ${INSTALL_FFMPEG} = true ]; then \
 | 
			
		||||
    apt-get -y install ffmpeg \
 | 
			
		||||
;fi
 | 
			
		||||
 | 
			
		||||
###########################################################################
 | 
			
		||||
# Mailparse extension:
 | 
			
		||||
###########################################################################
 | 
			
		||||
 | 
			
		||||
ARG INSTALL_MAILPARSE=false
 | 
			
		||||
 | 
			
		||||
RUN if [ ${INSTALL_MAILPARSE} = true ]; then \
 | 
			
		||||
    # Install mailparse extension
 | 
			
		||||
    printf "\n" | pecl install -o -f mailparse \
 | 
			
		||||
    &&  rm -rf /tmp/pear \
 | 
			
		||||
    &&  docker-php-ext-enable mailparse \
 | 
			
		||||
;fi
 | 
			
		||||
 | 
			
		||||
###########################################################################
 | 
			
		||||
# Check PHP version:
 | 
			
		||||
###########################################################################
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user