Skip to content

Commit 3a51000

Browse files
committed
fix php warning "Unable to load dynamic library '/usr/lib/php/20151012/aerospike.so'" when aerospike set not install at workspace
1 parent 15b3fe6 commit 3a51000

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

workspace/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = true ]; then \
186186
) \
187187
&& rm /tmp/aerospike-client-php.tar.gz \
188188
;fi
189+
RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = false ]; then \
190+
rm /etc/php/7.0/cli/conf.d/aerospike.ini \
191+
;fi
189192

190193
#
191194
#--------------------------------------------------------------------------

0 commit comments

Comments
 (0)