![Swapnil Kulkarni](/assets/img/avatar_default.png)
No need to do a make dir since COPY will create it. Also removed from service specific base images since it will not be required. Change-Id: I15064eaf6e8faa9acbda68eaf3d85589ea9ed3d9 Closes-Bug: #1479176
16 lines
435 B
Docker
16 lines
435 B
Docker
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
|
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
|
|
|
ADD ./magnum.tar /
|
|
RUN ln -s /magnum-* /magnum
|
|
|
|
RUN cd /magnum \
|
|
&& useradd --user-group magnum \
|
|
&& pip install -r requirements.txt \
|
|
&& pip install /magnum \
|
|
&& mkdir /etc/magnum /var/log/magnum \
|
|
&& cp -r /magnum/etc/* /etc/magnum/ \
|
|
&& rm -rf /root/.cache
|
|
|
|
COPY config-magnum.sh /opt/kolla/
|