Docker run scripts with sh which doesn't support [[
Change-Id: I368f5b89fbfded0f173b97058061a03783ce1829 Closes-Bug: #1531883
This commit is contained in:
parent
46ceb9fccc
commit
1bd0d2a1f7
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user