fix(aerospike extension): turn off build in Travis due to image version
PHP 8.0 is not supported by Aerospike. See the issue's references. Closes #2881
This commit is contained in:
parent
37ffbbea29
commit
793c1a085f
@ -872,18 +872,22 @@ RUN set -xe; \
|
|||||||
&& \
|
&& \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
( \
|
( \
|
||||||
cd /tmp/aerospike-client-php/src/aerospike \
|
cd /tmp/aerospike-client-php/src/aerospike \
|
||||||
&& phpize \
|
&& phpize \
|
||||||
&& ./build.sh \
|
&& ./build.sh \
|
||||||
&& make install \
|
&& make install \
|
||||||
) \
|
) \
|
||||||
else \
|
else \
|
||||||
( \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
|
||||||
cd /tmp/aerospike-client-php/src \
|
( \
|
||||||
&& phpize \
|
cd /tmp/aerospike-client-php/src \
|
||||||
&& ./build.sh \
|
&& phpize \
|
||||||
&& make install \
|
&& ./build.sh \
|
||||||
) \
|
&& make install \
|
||||||
|
) \
|
||||||
|
else \
|
||||||
|
echo "AEROSPIKE does not support PHP 8.0"
|
||||||
|
fi \
|
||||||
fi \
|
fi \
|
||||||
&& rm /tmp/aerospike-client-php.tar.gz \
|
&& rm /tmp/aerospike-client-php.tar.gz \
|
||||||
&& echo 'extension=aerospike.so' >> /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/aerospike.ini \
|
&& echo 'extension=aerospike.so' >> /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/aerospike.ini \
|
||||||
|
Loading…
Reference in New Issue
Block a user