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
15 lines
361 B
Docker
15 lines
361 B
Docker
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base
|
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
|
|
|
#Install required packages
|
|
RUN yum -y install openstack-keystone \
|
|
python-keystoneclient \
|
|
&& yum clean all
|
|
|
|
# Add start-up and check scripts
|
|
ADD ./start.sh /start.sh
|
|
ADD ./check.sh /check.sh
|
|
|
|
# Run the Keystone start script
|
|
CMD ["/start.sh"]
|