kolla-ansible/docker/neutron/neutron-server/Dockerfile.j2
Artur Zarzycki 1bd0d2a1f7 Docker run scripts with sh which doesn't support [[
Change-Id: I368f5b89fbfded0f173b97058061a03783ce1829
Closes-Bug: #1531883
2016-01-08 14:05:37 +01:00

12 lines
389 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}neutron-base:{{ tag }}
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 \
pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /plugins/*; \
fi
{{ include_footer }}