From ea9d5cd067d379344122d98615df39ef9b4d266d Mon Sep 17 00:00:00 2001 From: Sam Yaple Date: Thu, 12 Nov 2015 14:34:09 +0000 Subject: Move USER operation after footer The USER operation affects all docker commands after it. This causes a problem with our {{ include_footer }} implementation since commands in that footer may require elevated permissions to perform. In the current implementation I can no longer remove my proxy settings once the USER has been changed. Change-Id: I9b2bab5a15f595f6d52a46c64ddf59ba5608b938 Partially-Implements: blueprint drop-root --- docker/horizon/Dockerfile.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docker/horizon') diff --git a/docker/horizon/Dockerfile.j2 b/docker/horizon/Dockerfile.j2 index c083fa107..d08da6914 100644 --- a/docker/horizon/Dockerfile.j2 +++ b/docker/horizon/Dockerfile.j2 @@ -75,6 +75,6 @@ COPY extend_start.sh /usr/local/bin/kolla_extend_start RUN chmod 755 /usr/local/bin/kolla_extend_start \ && usermod -a -G kolla horizon -USER horizon - {{ include_footer }} + +USER horizon -- cgit v1.2.3