Glance source based container misses 'glance' user

This will lead to failed database initialization

Change-Id: If54e928bfe7004b7048294100cebbf693cebda79
Closes-Bug: #1483659
This commit is contained in:
Vladislav Belogrudov 2015-08-11 14:19:27 +03:00
parent 0f2c67d929
commit acd3e618e0

View File

@ -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 \