Glance source based containers cannot write to /var/log/glance

Glance services fail when trying to send log messages to
/var/log/glance because the folder has wrong ownership.

Change-Id: Ic3878341e83564278f7eac418bd9ed9be90c929f
Closes-Bug: #1483747
This commit is contained in:
Vladislav Belogrudov 2015-08-11 16:44:51 +03:00
parent 6bca976500
commit f30ec59e36

View File

@ -10,6 +10,7 @@ RUN cd /glance \
&& pip install /glance \
&& mkdir /etc/glance /var/log/glance \
&& cp -r /glance/etc/* /etc/glance/ \
&& chown -R glance: /etc/glance /var/log/glance \
&& rm -rf /root/.cache
CMD ["/start.sh"]