From 3a5100097ab0eb9144c385a1e516ac9a54077bdf Mon Sep 17 00:00:00 2001 From: Lialosiu Date: Sat, 10 Sep 2016 16:53:15 +0800 Subject: [PATCH] fix php warning "Unable to load dynamic library '/usr/lib/php/20151012/aerospike.so'" when aerospike set not install at workspace --- workspace/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/workspace/Dockerfile b/workspace/Dockerfile index 5b447aa9..9e9baad4 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -186,6 +186,9 @@ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = true ]; then \ ) \ && rm /tmp/aerospike-client-php.tar.gz \ ;fi +RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = false ]; then \ + rm /etc/php/7.0/cli/conf.d/aerospike.ini \ +;fi # #--------------------------------------------------------------------------