This repository was archived by the owner on May 3, 2024. It is now read-only.

Description
Im trying to install aerospike client php inside docker container by following these in https://github.com/aerospike/aerospike-client-php, but got this error :
root@f9e0f506df68:/var/www/html/vendor/aerospike/aerospike-client-php# composer run-script post-install-cmd
> cd src && ./build.sh
This Aerospike client requires PHP7
Aerospike C Client SDK is present.
warning: '/var/www/html/vendor/aerospike/aerospike-client-php/src/../aerospike-client-c/package/aerospike-client-c-devel-4.6.9.debian11.x86_64.deb' file exists. /aerospike-client-php/src/../aerospike-
warning:
warning: We will be using this package, rather than downloading a new package.
warning: If you would like to download a new package please remove
warning: the package file.
info: extracting files from 'aerospike-client-c-devel-4.6.9.debian11.x86_64.deb'
dpkg-deb: error: 'aerospike-client-c-devel-4.6.9.debian11.x86_64.deb' is not a Debian format archive
CHECK
[✗] /var/www/html/vendor/aerospike/aerospike-client-php/src/../aerospike-client-c/package/usr/lib/libaerospike.a
[✗] /var/www/html/vendor/aerospike/aerospike-client-php/src/../aerospike-client-c/package/usr/include/aerospike/aerospike.h
Script cd src && ./build.sh handling the post-install-cmd event returned with error code 2
root@f9e0f506df68:/var/www/html/vendor/aerospike/aerospike-client-php#
*im using Ubuntu 20.04.3 LTS, docker 20.10.12