aboutsummaryrefslogtreecommitdiff
path: root/docker/nova/nova-compute
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/nova/nova-compute
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/nova/nova-compute')
-rw-r--r--docker/nova/nova-compute/Dockerfile.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/nova/nova-compute/Dockerfile.j2 b/docker/nova/nova-compute/Dockerfile.j2
index 3c5b5cc21..ed832f441 100644
--- a/docker/nova/nova-compute/Dockerfile.j2
+++ b/docker/nova/nova-compute/Dockerfile.j2
@@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}nova-base:{{ tag }}
MAINTAINER {{ maintainer }}
+{% block nova_compute_header %}{% endblock %}
+
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}