Merge pull request #3365 from samejack/master
Fix php7.x install gearman issue
This commit is contained in:
commit
03159cf2b9
@ -526,7 +526,11 @@ ARG INSTALL_GEARMAN=false
|
|||||||
RUN if [ ${INSTALL_GEARMAN} = true ]; then \
|
RUN if [ ${INSTALL_GEARMAN} = true ]; then \
|
||||||
add-apt-repository -y ppa:ondrej/pkg-gearman && \
|
add-apt-repository -y ppa:ondrej/pkg-gearman && \
|
||||||
apt-get update && \
|
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
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user