Skip to content

Instantly share code, notes, and snippets.

@notmyname
Last active March 13, 2018 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notmyname/d200071e6338794d7cc39fd3972713a9 to your computer and use it in GitHub Desktop.
Save notmyname/d200071e6338794d7cc39fd3972713a9 to your computer and use it in GitHub Desktop.
# 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