aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHongbin Lu <hongbin034@gmail.com>2018-09-10 20:50:28 +0000
committerHongbin Lu <hongbin034@gmail.com>2018-09-10 20:53:06 +0000
commitd965ddf2562ca3a558944ce12cbb28c013347ce8 (patch)
tree1dfa657085d4b2a1a08d5e51d9bf313ad3ab6f75
parenta4187d9d021c3c38c11c709435c0c69fee5e5a43 (diff)
downloadkolla-d965ddf2562ca3a558944ce12cbb28c013347ce8.tar.gz
kolla-d965ddf2562ca3a558944ce12cbb28c013347ce8.zip
Run zun-api with 'root' user
It looks zun-api needs root permission to run under apache2. Otherwise, the zun process will have problem to write to apache2 logs. Change-Id: I8b201fc70b8347be9869d7e6bf1eec00d8a32d6e
-rw-r--r--docker/zun/zun-api/Dockerfile.j22
1 files changed, 0 insertions, 2 deletions
diff --git a/docker/zun/zun-api/Dockerfile.j2 b/docker/zun/zun-api/Dockerfile.j2
index 01f665b43..19e73ffb0 100644
--- a/docker/zun/zun-api/Dockerfile.j2
+++ b/docker/zun/zun-api/Dockerfile.j2
@@ -15,5 +15,3 @@ RUN chmod 755 /usr/local/bin/kolla_zun_extend_start
{% block zun_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
-
-USER zun