You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.2 KiB

MAINTAINER “Rico Lin” <>
ENV container docker
RUN dnf -y --setopt=tsflags=nodocs install \
redhat-rpm-config gcc python2-devel python3-devel docker findutils os-collect-config os-apply-config \
os-refresh-config dib-utils python-pip python-docker-py \
python-yaml python-zaqarclient && \
dnf clean all
# pip installing dpath as python-dpath is an older version of dpath
# install docker-compose
RUN pip install --no-cache dpath docker-compose python-zaqarclient oslo.log psutil
ADD ./scripts/55-heat-config \
ADD ./scripts/50-heat-config-docker-compose \
ADD ./scripts/hooks/* \
ADD ./scripts/heat-config-notify \
ADD ./scripts/ /tmp/
RUN chmod 700 /tmp/
RUN /tmp/
#create volumes to share the host directories
VOLUME [ "/var/lib/cloud"]
VOLUME [ "/var/lib/heat-cfntools" ]
#set DOCKER_HOST environment variable that docker-compose would use
ENV DOCKER_HOST unix:///var/run/docker.sock
CMD /usr/bin/os-collect-config