0764fd7dea
By changing the PREFIX variable in the .buildconf one is now able to build docker images from different bases. For example, add the following line to your .buildconf file to build CentOS based images: PREFIX=centos-rdo- Default base image is Fedora. For now only RH family is supported. Additionally, changing the namespace either with the NAMESPACE variable in .buildconf or via --namespace commandline option now changes the source namespace as well from the default kollaglue one. Implements: blueprint multi-baseos Co-Authored-By: Steven Dake <stdake@cisco.com> Change-Id: I3964cd2292789ea883a1f2d2738a5731a4fff49b
18 lines
782 B
Docker
18 lines
782 B
Docker
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base
|
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
|
|
|
RUN curl -O https://repos.fedorapeople.org/repos/openstack/openstack-juno/fedora-21/openstack-zaqar-2014.2-1.fc22.noarch.rpm
|
|
RUN curl -O https://repos.fedorapeople.org/repos/openstack/openstack-juno/fedora-21/python-oslo-utils-0.3.0-1.fc22.noarch.rpm
|
|
RUN curl -O https://repos.fedorapeople.org/repos/openstack/openstack-juno/fedora-21/python-keystonemiddleware-1.2.0-1.fc22.noarch.rpm
|
|
RUN yum -y localinstall python-oslo-utils-0.3.0-1.fc22.noarch.rpm \
|
|
python-keystonemiddleware-1.2.0-1.fc22.noarch.rpm \
|
|
openstack-zaqar-2014.2-1.fc22.noarch.rpm \
|
|
; yum clean all
|
|
|
|
EXPOSE 8888
|
|
|
|
ADD ./start.sh /start.sh
|
|
ADD ./check.sh /check.sh
|
|
|
|
CMD ["/start.sh"]
|