fix syntex error (#2317)

* fix syntex error cause by #2309
This commit is contained in:
Shao Yu-Lung (Allen) 2019-10-07 17:06:09 +08:00 committed by GitHub
parent 25f883fc99
commit 4af8ac8f53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -364,10 +364,10 @@ ARG INSTALL_MEMCACHED=false
RUN if [ ${INSTALL_MEMCACHED} = true ]; then \ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
# Install the php memcached extension # Install the php memcached extension
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \ if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
pecl install memcached-2.2.0 pecl install memcached-2.2.0; \
else \ else \
pecl install memcached-3.1.3 pecl install memcached-3.1.3; \
fi fi \
&& docker-php-ext-enable memcached \ && docker-php-ext-enable memcached \
;fi ;fi