updated gearman installation code in php-worker service
This commit is contained in:
		@@ -101,7 +101,11 @@ RUN if [ ${INSTALL_AMQP} = true ]; then \
 | 
			
		||||
ARG INSTALL_GEARMAN=false
 | 
			
		||||
 | 
			
		||||
RUN if [ ${INSTALL_GEARMAN} = true ]; then \
 | 
			
		||||
    docker-php-ext-install gearman \
 | 
			
		||||
    sed -i "\$ahttp://dl-cdn.alpinelinux.org/alpine/edge/main" /etc/apk/repositories && \
 | 
			
		||||
    sed -i "\$ahttp://dl-cdn.alpinelinux.org/alpine/edge/community" /etc/apk/repositories && \
 | 
			
		||||
    sed -i "\$ahttp://dl-cdn.alpinelinux.org/alpine/edge/testing" /etc/apk/repositories && \
 | 
			
		||||
    apk --update add php7-gearman && \
 | 
			
		||||
    sh -c 'echo "extension=/usr/lib/php7/modules/gearman.so" > /usr/local/etc/php/conf.d/gearman.ini' \
 | 
			
		||||
;fi
 | 
			
		||||
 | 
			
		||||
# Install Cassandra drivers:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user