b170a6772d
This won't be required if the following change lands Change-Id: Ib3457f3b6598b989d1f3501d450ee10b87042dba Depends-On: I763fc8d8e3eb10ac64d33e46c92888d211003e72
21 lines
733 B
Docker
21 lines
733 B
Docker
FROM centos:7
|
|
MAINTAINER "Jeff Peeler" <jpeeler@redhat.com>
|
|
|
|
ARG OPENSTACK_RELEASE
|
|
LABEL openstack_release=$OPENSTACK_RELEASE
|
|
ENV container docker
|
|
ENV DOCKER_HOST unix:///var/run/docker.sock
|
|
|
|
ADD hook-docker-cmd.py /usr/libexec/heat-config/hooks/docker-cmd
|
|
ADD 50-heat-config-docker-cmd /usr/libexec/os-refresh-config/configure.d/50-heat-config-hook-docker-cmd
|
|
# Just use a script to configure the agent container. This way we can
|
|
# Split up the operations and do it all in a single layer.
|
|
ADD configure_container.sh /tmp/
|
|
RUN /tmp/configure_container.sh && rm /tmp/configure_container.sh
|
|
|
|
# create volumes to share the host directories
|
|
VOLUME [ "/var/lib/cloud"]
|
|
VOLUME [ "/var/lib/heat-cfntools" ]
|
|
|
|
CMD /usr/bin/os-collect-config
|