From f12b702ca8ab0f5564c14d3c670f326d372f4d74 Mon Sep 17 00:00:00 2001 From: Doug Szumski Date: Thu, 20 Sep 2018 15:47:23 +0000 Subject: [PATCH] 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 --- docker/monasca/monasca-thresh/Dockerfile.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/monasca/monasca-thresh/Dockerfile.j2 b/docker/monasca/monasca-thresh/Dockerfile.j2 index 3972f928fb..7138d4f0b0 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 }}' \