diff options
| author | Swapnil Kulkarni <me@coolsvap.net> | 2015-08-12 10:38:06 +0000 |
|---|---|---|
| committer | Swapnil Kulkarni <me@coolsvap.net> | 2015-08-13 06:04:14 +0000 |
| commit | 87b8d2c1331d9bf5fbbb970c5e43b3d65db9c3cc (patch) | |
| tree | 266d5790e0fad805518b22f82adb02b16589fb8e /docker_templates/cinder/cinder-api | |
| parent | a0a859ac9281dc28e7e0e2d3ae002b068af6f706 (diff) | |
| download | kolla-87b8d2c1331d9bf5fbbb970c5e43b3d65db9c3cc.tar.gz kolla-87b8d2c1331d9bf5fbbb970c5e43b3d65db9c3cc.zip | |
Add Dockerfile template for Cinder
Change-Id: I3791b58f15802f9ddbedb48d1a846813b05e0209
Partially-Implements: blueprint dockerfile-template
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 |
