Created
April 9, 2018 15:40
-
-
Save mnaser/30a66333072d3bf52f662397c1cd58a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:7.4.1708 | |
# Bootstrap container | |
RUN yum -y install git which | |
# Install OpenStack Ansible | |
ARG OSA_RELEASE | |
RUN git clone -b ${OSA_RELEASE} https://git.openstack.org/openstack/openstack-ansible /opt/openstack-ansible | |
WORKDIR /opt/openstack-ansible | |
RUN scripts/bootstrap-ansible.sh | |
# Install missing RPMs | |
RUN yum -y install python-prettytable python-yaml | |
# Clean-up image | |
RUN rm -rfv /root/.ssh/id_* | |
# Volumes | |
VOLUME /etc/openstack_deploy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment