986edf4a97
When using ';' this can allow the previous command to fail and while the docker build proceeds without realizing a command failed. Switching to '&&' allows the exit code to make it to the docker build command and the build to fail appropriately. Change-Id: Idd0991ed4549542bb10d27da1a0a025d0503b6c1
18 lines
783 B
Docker
18 lines
783 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"]
|