Last active
March 13, 2018 20:15
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
# DOCKER-VERSION 0.6.4 | |
FROM centos:centos7 | |
RUN yum -y update | |
RUN yum -y install epel-release centos-release-openstack-queens ansible git python-setuptools redhat-lsb-core | |
RUN easy_install pip | |
RUN pip install bindep | |
RUN git clone --branch master --single-branch --depth 1 https://git.openstack.org/openstack/swift /usr/local/src/swift | |
WORKDIR /usr/local/src/swift/ | |
RUN bindep platform:centos -b | xargs yum -y install | |
RUN ansible-playbook -i "localhost," -c local playbooks/saio_single_node_setup/install_dependencies.yaml | |
RUN ansible-playbook -i "localhost," -c local playbooks/saio_single_node_setup/setup_saio.yaml | |
RUN ansible-playbook -i "localhost," -c local playbooks/saio_single_node_setup/make_rings.yaml | |
EXPOSE 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment