Merge "Docker run scripts with sh which doesn't support [["

This commit is contained in:
Jenkins 2016-01-08 17:52:36 +00:00 committed by Gerrit Code Review
commit c042ca6a76
1 changed files with 1 additions and 1 deletions

View File

@ -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