From b41247c6569974d8b8591070076845e652d684ba Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Wed, 7 Sep 2016 18:15:01 +0100 Subject: 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 --- docker/openstack-base/Dockerfile.j2 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docker/openstack-base') diff --git a/docker/openstack-base/Dockerfile.j2 b/docker/openstack-base/Dockerfile.j2 index 3ec33f1be..ae02b657d 100644 --- a/docker/openstack-base/Dockerfile.j2 +++ b/docker/openstack-base/Dockerfile.j2 @@ -1,6 +1,8 @@ FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }} MAINTAINER {{ maintainer }} +{% block openstack_base_header %}{% endblock %} + {% import "macros.j2" as macros with context %} {% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %} -- cgit v1.2.3