diff options
| author | Vladislav Belogrudov <vladislav.belogrudov@oracle.com> | 2015-08-28 13:17:41 +0300 |
|---|---|---|
| committer | Vladislav Belogrudov <vladislav.belogrudov@oracle.com> | 2015-08-28 13:17:41 +0300 |
| commit | 630f437576c81c829f6d74cc33dcf830bbc89bef (patch) | |
| tree | 1b7ead0e5ed11594d5e6549cdc8971683b06a66e /docker_templates/swift | |
| parent | 55e6e1f8d2c2ca5ae98f7c84fa0bf8afddbcd4f0 (diff) | |
| download | kolla-630f437576c81c829f6d74cc33dcf830bbc89bef.tar.gz kolla-630f437576c81c829f6d74cc33dcf830bbc89bef.zip | |
Add custom footer section to final image Dockefiles
This patch allows to add instructions to final images
like setting runtime environment variables or deleting
build time HTTP proxies
Change-Id: I23ad325e0898d77804a22038ddc618e1e49afd88
Partially-Implements: blueprint add-proxy-to-dockerfiles
Diffstat (limited to 'docker_templates/swift')
8 files changed, 16 insertions, 0 deletions
diff --git a/docker_templates/swift/swift-account-server/Dockerfile.j2 b/docker_templates/swift/swift-account-server/Dockerfile.j2 index 809091d4d..7320de9f4 100644 --- a/docker_templates/swift/swift-account-server/Dockerfile.j2 +++ b/docker_templates/swift/swift-account-server/Dockerfile.j2 @@ -15,3 +15,5 @@ COPY start.sh / COPY config-external.sh /opt/kolla/ CMD ["/start.sh"] + +{{ include_footer }} diff --git a/docker_templates/swift/swift-container-server/Dockerfile.j2 b/docker_templates/swift/swift-container-server/Dockerfile.j2 index b4b43d8dc..1a08c0f5d 100644 --- a/docker_templates/swift/swift-container-server/Dockerfile.j2 +++ b/docker_templates/swift/swift-container-server/Dockerfile.j2 @@ -15,3 +15,5 @@ COPY start.sh / COPY config-external.sh /opt/kolla/ CMD ["/start.sh"] + +{{ include_footer }} diff --git a/docker_templates/swift/swift-object-auditor/Dockerfile.j2 b/docker_templates/swift/swift-object-auditor/Dockerfile.j2 index 637501586..ab8a7adee 100644 --- a/docker_templates/swift/swift-object-auditor/Dockerfile.j2 +++ b/docker_templates/swift/swift-object-auditor/Dockerfile.j2 @@ -5,3 +5,5 @@ COPY start.sh / COPY config-external.sh /opt/kolla/ CMD ["/start.sh"] + +{{ include_footer }} diff --git a/docker_templates/swift/swift-object-expirer/Dockerfile.j2 b/docker_templates/swift/swift-object-expirer/Dockerfile.j2 index 8b211f2e4..af9f3eb58 100644 --- a/docker_templates/swift/swift-object-expirer/Dockerfile.j2 +++ b/docker_templates/swift/swift-object-expirer/Dockerfile.j2 @@ -16,3 +16,5 @@ COPY start.sh / COPY config-external.sh /opt/kolla/ CMD ["/start.sh"] + +{{ include_footer }} diff --git a/docker_templates/swift/swift-object-replicator/Dockerfile.j2 b/docker_templates/swift/swift-object-replicator/Dockerfile.j2 index 637501586..ab8a7adee 100644 --- a/docker_templates/swift/swift-object-replicator/Dockerfile.j2 +++ b/docker_templates/swift/swift-object-replicator/Dockerfile.j2 @@ -5,3 +5,5 @@ COPY start.sh / COPY config-external.sh /opt/kolla/ CMD ["/start.sh"] + +{{ include_footer }} diff --git a/docker_templates/swift/swift-object-server/Dockerfile.j2 b/docker_templates/swift/swift-object-server/Dockerfile.j2 index 637501586..ab8a7adee 100644 --- a/docker_templates/swift/swift-object-server/Dockerfile.j2 +++ b/docker_templates/swift/swift-object-server/Dockerfile.j2 @@ -5,3 +5,5 @@ COPY start.sh / COPY config-external.sh /opt/kolla/ CMD ["/start.sh"] + +{{ include_footer }} diff --git a/docker_templates/swift/swift-object-updater/Dockerfile.j2 b/docker_templates/swift/swift-object-updater/Dockerfile.j2 index 637501586..ab8a7adee 100644 --- a/docker_templates/swift/swift-object-updater/Dockerfile.j2 +++ b/docker_templates/swift/swift-object-updater/Dockerfile.j2 @@ -5,3 +5,5 @@ COPY start.sh / COPY config-external.sh /opt/kolla/ CMD ["/start.sh"] + +{{ include_footer }} diff --git a/docker_templates/swift/swift-proxy-server/Dockerfile.j2 b/docker_templates/swift/swift-proxy-server/Dockerfile.j2 index b668f33e2..54d024f8b 100644 --- a/docker_templates/swift/swift-proxy-server/Dockerfile.j2 +++ b/docker_templates/swift/swift-proxy-server/Dockerfile.j2 @@ -12,3 +12,5 @@ RUN yum -y install openstack-swift-proxy && yum clean all COPY ./start.sh /start.sh COPY config-external.sh /opt/kolla/ CMD ["/start.sh"] + +{{ include_footer }} |
