diff options
Diffstat (limited to 'docker_templates/cinder/cinder-api')
| -rw-r--r-- | docker_templates/cinder/cinder-api/Dockerfile.j2 | 16 | ||||
| l--------- | docker_templates/cinder/cinder-api/build | 1 | ||||
| l--------- | docker_templates/cinder/cinder-api/config-external.sh | 1 | ||||
| l--------- | docker_templates/cinder/cinder-api/start.sh | 1 |
4 files changed, 19 insertions, 0 deletions
diff --git a/docker_templates/cinder/cinder-api/Dockerfile.j2 b/docker_templates/cinder/cinder-api/Dockerfile.j2 new file mode 100644 index 000000000..97ad23ac0 --- /dev/null +++ b/docker_templates/cinder/cinder-api/Dockerfile.j2 @@ -0,0 +1,16 @@ +FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-cinder-base:{{ tag }} +MAINTAINER Kolla Project (https://launchpad.net/kolla) + +{% if install_type == 'binary' %} + {% if base_distro in ['fedora', 'centos', 'oraclelinux'] %} + +RUN yum install -y python-keystone \ + && yum clean all + + {% endif %} +{% endif %} + +COPY ./start.sh / +COPY config-external.sh /opt/kolla/ + +CMD ["/start.sh"] diff --git a/docker_templates/cinder/cinder-api/build b/docker_templates/cinder/cinder-api/build new file mode 120000 index 000000000..43944faa0 --- /dev/null +++ b/docker_templates/cinder/cinder-api/build @@ -0,0 +1 @@ +../../../tools/build-docker-image
\ No newline at end of file diff --git a/docker_templates/cinder/cinder-api/config-external.sh b/docker_templates/cinder/cinder-api/config-external.sh new file mode 120000 index 000000000..dc4bc440d --- /dev/null +++ b/docker_templates/cinder/cinder-api/config-external.sh @@ -0,0 +1 @@ +../../../docker/common/cinder/cinder-api/config-external.sh
\ No newline at end of file diff --git a/docker_templates/cinder/cinder-api/start.sh b/docker_templates/cinder/cinder-api/start.sh new file mode 120000 index 000000000..3cb418178 --- /dev/null +++ b/docker_templates/cinder/cinder-api/start.sh @@ -0,0 +1 @@ +../../../docker/common/cinder/cinder-api/start.sh
\ No newline at end of file |
