diff options
Diffstat (limited to 'docker_templates')
| -rw-r--r-- | docker_templates/kolla-ansible/Dockerfile.j2 | 36 | ||||
| l--------- | docker_templates/kolla-ansible/kolla_keystone_service.py | 1 | ||||
| l--------- | docker_templates/kolla-ansible/kolla_keystone_user.py | 1 |
3 files changed, 38 insertions, 0 deletions
diff --git a/docker_templates/kolla-ansible/Dockerfile.j2 b/docker_templates/kolla-ansible/Dockerfile.j2 new file mode 100644 index 000000000..5fa1e5aec --- /dev/null +++ b/docker_templates/kolla-ansible/Dockerfile.j2 @@ -0,0 +1,36 @@ +FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-base:{{ tag }} +MAINTAINER Kolla Project (https://launchpad.net/kolla) + +{% if base_distro in ['fedora', 'centos', 'oraclelinux'] %} + +RUN yum -y install \ + git \ + gcc \ + libffi-devel \ + libxml2-devel \ + libxslt-devel \ + MySQL-python \ + openssl-devel \ + python-devel \ + openssh-clients \ + && yum clean all + +{% elif base_distro in ['ubuntu', 'debian'] %} + +RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \ + && /bin/false + +{% endif %} + +RUN pip install -U pip wheel \ + && pip install python-openstackclient shade + +RUN git clone https://github.com/ansible/ansible.git \ + && cd ansible \ + && git submodule update --init --recursive \ + && pip install . + +RUN mkdir -p /etc/ansible /usr/share/ansible \ + && echo 'localhost ansible_connection=local' > /etc/ansible/hosts + +COPY kolla_keystone_service.py kolla_keystone_user.py /usr/share/ansible/ diff --git a/docker_templates/kolla-ansible/kolla_keystone_service.py b/docker_templates/kolla-ansible/kolla_keystone_service.py new file mode 120000 index 000000000..5e5632f17 --- /dev/null +++ b/docker_templates/kolla-ansible/kolla_keystone_service.py @@ -0,0 +1 @@ +../../docker/common/kolla-ansible/kolla_keystone_service.py
\ No newline at end of file diff --git a/docker_templates/kolla-ansible/kolla_keystone_user.py b/docker_templates/kolla-ansible/kolla_keystone_user.py new file mode 120000 index 000000000..4d88dd8d5 --- /dev/null +++ b/docker_templates/kolla-ansible/kolla_keystone_user.py @@ -0,0 +1 @@ +../../docker/common/kolla-ansible/kolla_keystone_user.py
\ No newline at end of file |
