committed by
					
						
						Shao Yu-Lung (Allen)
					
				
			
			
				
	
			
			
			
						parent
						
							dba1594b05
						
					
				
				
					commit
					bc8772441b
				
			@@ -435,6 +435,22 @@ RUN if [ ${INSTALL_SWOOLE} = true ]; then \
 | 
			
		||||
    && php -m | grep -q 'swoole' \
 | 
			
		||||
;fi
 | 
			
		||||
 | 
			
		||||
###########################################################################
 | 
			
		||||
# Taint EXTENSION
 | 
			
		||||
###########################################################################
 | 
			
		||||
 | 
			
		||||
ARG INSTALL_TAINT=false
 | 
			
		||||
 | 
			
		||||
RUN if [ "${INSTALL_TAINT}" = true ]; then \
 | 
			
		||||
    # Install Php TAINT Extension
 | 
			
		||||
    if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
 | 
			
		||||
      pecl install taint && \
 | 
			
		||||
      echo "extension=taint.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/taint.ini && \
 | 
			
		||||
      ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/taint.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-taint.ini && \
 | 
			
		||||
      php -m | grep -q 'taint'; \
 | 
			
		||||
    fi \
 | 
			
		||||
;fi
 | 
			
		||||
 | 
			
		||||
###########################################################################
 | 
			
		||||
# Libpng16 EXTENSION
 | 
			
		||||
###########################################################################
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user