aboutsummaryrefslogtreecommitdiff
path: root/docker/openvswitch/openvswitch-vswitchd/Dockerfile.j2
diff options
context:
space:
mode:
authorPaul Bourke <paul.bourke@oracle.com>2016-09-07 18:15:01 +0100
committerPaul Bourke <paul.bourke@oracle.com>2016-09-13 16:53:31 +0100
commitb41247c6569974d8b8591070076845e652d684ba (patch)
tree88a13a896d3888e71b8e43b84165076d74ee266f /docker/openvswitch/openvswitch-vswitchd/Dockerfile.j2
parent7db277b1459effca5e8b3a13090d7b08639346cc (diff)
downloadkolla-b41247c6569974d8b8591070076845e652d684ba.tar.gz
kolla-b41247c6569974d8b8591070076845e652d684ba.zip
Add header blocks to all Dockerfiles
Change needed to add header blocks to all Dockerfiles, similar to the base. Use case is to easily run something before packages are installed, e.g. to COPY a local rpm in that can be added to the package list. Change-Id: I1bbfdf0b762da0a392aa8bf47781315b45377bee Closes-Bug: 1618969
Diffstat (limited to 'docker/openvswitch/openvswitch-vswitchd/Dockerfile.j2')
-rw-r--r--docker/openvswitch/openvswitch-vswitchd/Dockerfile.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/openvswitch/openvswitch-vswitchd/Dockerfile.j2 b/docker/openvswitch/openvswitch-vswitchd/Dockerfile.j2
index 5e6880ce5..ef7a5e6ed 100644
--- a/docker/openvswitch/openvswitch-vswitchd/Dockerfile.j2
+++ b/docker/openvswitch/openvswitch-vswitchd/Dockerfile.j2
@@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openvswitch-base:{{ tag }}
MAINTAINER {{ maintainer }}
+{% block openvswitch_vswitchd_header %}{% endblock %}
+
COPY extend_start.sh /usr/local/bin/kolla_openvswitch_extend_start
RUN chmod 755 /usr/local/bin/kolla_openvswitch_extend_start