fix bug in php-worker
This commit is contained in:
parent
b0d928762e
commit
b7de2868eb
@ -432,7 +432,7 @@ ARG INSTALL_SSDB=false
|
|||||||
|
|
||||||
RUN set -xe; \
|
RUN set -xe; \
|
||||||
if [ ${INSTALL_SSDB} = true ] && [ $(php -r "echo PHP_MAJOR_VERSION;") != "8" ]; then \
|
if [ ${INSTALL_SSDB} = true ] && [ $(php -r "echo PHP_MAJOR_VERSION;") != "8" ]; then \
|
||||||
apt-get -y install sudo wget && \
|
apk --update add sudo wget && \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
|
||||||
curl -L -o /tmp/ssdb-client-php.tar.gz https://github.com/jonnywang/phpssdb/archive/php7.tar.gz; \
|
curl -L -o /tmp/ssdb-client-php.tar.gz https://github.com/jonnywang/phpssdb/archive/php7.tar.gz; \
|
||||||
else \
|
else \
|
||||||
|
Loading…
Reference in New Issue
Block a user