f30ec59e36
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
17 lines
474 B
Docker
17 lines
474 B
Docker
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
|
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
|
|
|
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 \
|
|
&& cp -r /glance/etc/* /etc/glance/ \
|
|
&& chown -R glance: /etc/glance /var/log/glance \
|
|
&& rm -rf /root/.cache
|
|
|
|
CMD ["/start.sh"]
|