updated gearman installation code in php-worker service
This commit is contained in:
parent
8203e5da29
commit
b74c54f804
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user