From acd3e618e0cafbbac1595bfd8203a788c9bb8e43 Mon Sep 17 00:00:00 2001 From: Vladislav Belogrudov Date: Tue, 11 Aug 2015 14:19:27 +0300 Subject: [PATCH] Glance source based container misses 'glance' user This will lead to failed database initialization Change-Id: If54e928bfe7004b7048294100cebbf693cebda79 Closes-Bug: #1483659 --- docker/centos/source/glance/glance-base/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/centos/source/glance/glance-base/Dockerfile b/docker/centos/source/glance/glance-base/Dockerfile index a552a0d192..084bcf77ea 100644 --- a/docker/centos/source/glance/glance-base/Dockerfile +++ b/docker/centos/source/glance/glance-base/Dockerfile @@ -5,6 +5,7 @@ ADD ./glance.tar / RUN ln -s /glance-* /glance RUN cd /glance \ + && useradd --user-group glance \ && pip install -r requirements.txt \ && pip install /glance \ && mkdir /etc/glance /var/log/glance \