aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorDoug Szumski <doug@stackhpc.com>2018-09-20 15:47:23 +0000
committerDoug Szumski <doug@stackhpc.com>2018-09-20 16:06:06 +0000
commitf12b702ca8ab0f5564c14d3c670f326d372f4d74 (patch)
tree4bc16967c47435c8038e805a6099eda28bebbcad /docker
parentae8ce78e5517423a9a971472bec061079f1cabe7 (diff)
downloadkolla-f12b702ca8ab0f5564c14d3c670f326d372f4d74.tar.gz
kolla-f12b702ca8ab0f5564c14d3c670f326d372f4d74.zip
Add monasca user to Monasca thresh container
The monasca-thresh container is special in that inherits from the Storm container so that it has access to the Storm client. We could make monasca-base inherit from Storm, but it would bloat the other Monasca images which may not run on the same nodes as the Storm topology. Partially-Implements: blueprint monasca-containers Change-Id: Idd1703b72e45bb9d124e06a28738b18da0bc6918
Diffstat (limited to 'docker')
-rw-r--r--docker/monasca/monasca-thresh/Dockerfile.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/monasca/monasca-thresh/Dockerfile.j2 b/docker/monasca/monasca-thresh/Dockerfile.j2
index 3972f928f..7138d4f0b 100644
--- a/docker/monasca/monasca-thresh/Dockerfile.j2
+++ b/docker/monasca/monasca-thresh/Dockerfile.j2
@@ -7,6 +7,8 @@ USER root
{% import "macros.j2" as macros with context %}
+{{ macros.configure_user(name='monasca') }}
+
{% if install_type == 'binary' %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \