Merge pull request #2443 from sohaibilyas/fix-gearman-php-worker
updated gearman installation code in php-worker service
This commit is contained in:
commit
f64360ab74
|
@ -101,7 +101,11 @@ RUN if [ ${INSTALL_AMQP} = true ]; then \
|
||||||
ARG INSTALL_GEARMAN=false
|
ARG INSTALL_GEARMAN=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_GEARMAN} = true ]; then \
|
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
|
;fi
|
||||||
|
|
||||||
# Install Cassandra drivers:
|
# Install Cassandra drivers:
|
||||||
|
|
Loading…
Reference in New Issue