File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,6 +83,28 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
8383 docker-php-ext-enable memcached \
8484;fi
8585
86+ #####################################
87+ # PHP Aerospike:
88+ #####################################
89+
90+ ARG INSTALL_AEROSPIKE_EXTENSION=true
91+ ENV INSTALL_AEROSPIKE_EXTENSION ${INSTALL_AEROSPIKE_EXTENSION}
92+ # Copy aerospike configration for remote debugging
93+ COPY ./aerospike.ini /usr/local/etc/php/conf.d/aerospike.ini
94+ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = true ]; then \
95+ # Install the php aerospike extension
96+ curl -L -o /tmp/aerospike-client-php.tar.gz "https://github.com/luciano-jr/aerospike-client-php/archive/master.tar.gz" \
97+ && mkdir -p aerospike-client-php \
98+ && tar -C aerospike-client-php -zxvf /tmp/aerospike-client-php.tar.gz --strip 1 \
99+ && ( \
100+ cd aerospike-client-php/src/aerospike \
101+ && phpize \
102+ && ./build.sh \
103+ && make install \
104+ ) \
105+ && rm /tmp/aerospike-client-php.tar.gz \
106+ ;fi
107+
86108#####################################
87109# Opcache:
88110#####################################
You can’t perform that action at this time.
0 commit comments