kolla-ansible/docker/centos/source/barbican/Dockerfile
Steven Dake 115bc89966 Remove config-internal from Barbican
Change-Id: I173c7155128ccdf7ff23362bdd0722e56a5538a2
Partially-implements: blueprint remove-config-internal
2015-08-07 20:18:38 -07:00

20 lines
528 B
Docker

FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
ADD ./barbican.tar /
RUN ln -s /barbican-* /barbican
RUN cd /barbican \
&& useradd --user-group barbican \
&& pip install uwsgi \
&& pip install -r requirements.txt \
&& pip install /barbican \
&& mkdir /etc/barbican /var/log/barbican \
&& cp -r /barbican/etc/* /etc/barbican \
&& rm -rf /root/.cache
COPY ./start.sh /start.sh
COPY config-external.sh /opt/kolla/
CMD ["/start.sh"]