Skip to content

Instantly share code, notes, and snippets.

@notmyname
Last active March 13, 2018 20:15
# 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