Fix php7.x install gearman issue
This commit is contained in:
parent
6c8cb6dd85
commit
185fa761ce
@ -526,7 +526,11 @@ ARG INSTALL_GEARMAN=false
|
||||
RUN if [ ${INSTALL_GEARMAN} = true ]; then \
|
||||
add-apt-repository -y ppa:ondrej/pkg-gearman && \
|
||||
apt-get update && \
|
||||
apt-get -yqq install php-gearman \
|
||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
|
||||
apt-get install php${LARADOCK_PHP_VERSION}-gearman -y \
|
||||
; else \
|
||||
apt-get install php-gearman -y \
|
||||
;fi \
|
||||
;fi
|
||||
|
||||
###########################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user