From 8260bfb348b35a707e325a4789d5ab9f9983048c Mon Sep 17 00:00:00 2001
From: Andrew Widdersheim <amwiddersheim@gmail.com>
Date: Wed, 19 Oct 2016 11:28:07 -0400
Subject: [PATCH] Add blocks to customize RHEL package installation

Add blocks to the base Docker image that allows the operator to override
the base RHEL package installation.

TrivialFix
Change-Id: If570975e1f57ef9820544174dacc3f13d09bb215
---
 docker/base/Dockerfile.j2 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2
index e9fa65db32..9d349ee094 100644
--- a/docker/base/Dockerfile.j2
+++ b/docker/base/Dockerfile.j2
@@ -102,6 +102,7 @@ RUN true \
 
     {% if base_distro == 'rhel' %}
 
+{% block base_rhel_package_installation %}
 # Enable couple required repositories for all RHEL builds
 # Turn on EPEL throughout the build
 RUN yum -y install \
@@ -112,6 +113,7 @@ RUN yum -y install \
     && yum clean all \
     && yum-config-manager --enable rhel-7-server-optional-rpms \
     && yum-config-manager --enable rhel-7-server-extras-rpms
+{% endblock %}
 
     {% endif %}
     {# Endif for base_distro RHEL #}