Sam Yaple 986edf4a97 Replace ; with && in Dockerfile
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
2015-03-27 18:52:48 -05:00

18 lines
358 B
Docker

FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%neutron-base
MAINTAINER Kolla Project (https://launchpad.net/kolla)
#Install required packages
RUN yum install -y openstack-neutron \
python-neutronclient \
mariadb \
&& yum clean all
VOLUME /var/lib/neutron
EXPOSE 9696
ADD ./start.sh /start.sh
ADD ./check.sh /check.sh
CMD ["/start.sh"]