aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker/keystone/keystone/Dockerfile.j26
1 files changed, 5 insertions, 1 deletions
diff --git a/docker/keystone/keystone/Dockerfile.j2 b/docker/keystone/keystone/Dockerfile.j2
index 761be7893..5a835a9f6 100644
--- a/docker/keystone/keystone/Dockerfile.j2
+++ b/docker/keystone/keystone/Dockerfile.j2
@@ -3,9 +3,13 @@ MAINTAINER {{ maintainer }}
{% block keystone_header %}{% endblock %}
+ADD plugins-archive /
COPY keystone_bootstrap.sh /usr/local/bin/kolla_keystone_bootstrap
COPY extend_start.sh /usr/local/bin/kolla_extend_start
-RUN chmod 755 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_keystone_bootstrap
+RUN chmod 755 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_keystone_bootstrap \
+ && if [ "$(ls /plugins)" ]; then \
+ pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /plugins/*; \
+ fi
{% block keystone_footer %}{% endblock %}
{% block footer %}{% endblock %}