
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
358 B
Docker
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"]
|