From 1bd0d2a1f7fabfe69bbb39ab62b2b83b936a227b Mon Sep 17 00:00:00 2001 From: Artur Zarzycki Date: Fri, 8 Jan 2016 14:05:37 +0100 Subject: [PATCH] Docker run scripts with sh which doesn't support [[ Change-Id: I368f5b89fbfded0f173b97058061a03783ce1829 Closes-Bug: #1531883 --- docker/neutron/neutron-server/Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/neutron/neutron-server/Dockerfile.j2 b/docker/neutron/neutron-server/Dockerfile.j2 index 1562c24ed3..9732e28f12 100644 --- a/docker/neutron/neutron-server/Dockerfile.j2 +++ b/docker/neutron/neutron-server/Dockerfile.j2 @@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }} ADD plugins-archive / COPY extend_start.sh /usr/local/bin/kolla_extend_start RUN chmod 755 /usr/local/bin/kolla_extend_start \ - && if [[ "$(ls /plugins)" ]]; then \ + && if [ "$(ls /plugins)" ]; then \ pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /plugins/*; \ fi