kolla-ansible/docker/centos/source/cinder/cinder-base/Dockerfile
Steven Dake 8ae3b0d67e Rename cinder-app to cinder to be more consistent
Closes-Bug: #1482986
Change-Id: I72619ef18d24038b46d09e77887d6610ef6e8327
2015-08-12 12:04:58 -07:00

15 lines
461 B
Docker

FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
ADD ./cinder.tar /
RUN ln -s /cinder-* /cinder
RUN cd /cinder \
&& useradd --user-group cinder \
&& pip install -r requirements.txt \
&& pip install /cinder \
&& mkdir /etc/cinder /var/log/cinder \
&& cp -r /cinder/etc/cinder/* /etc/cinder/ \
&& chown -R cinder: /etc/cinder /var/log/cinder \
&& rm -rf /root/.cache