From f6e8430741250bf489cc79f378092e5603ccde2d Mon Sep 17 00:00:00 2001
From: Paul Bourke <paul.bourke@oracle.com>
Date: Wed, 31 Aug 2016 14:32:15 +0100
Subject: [PATCH] Add a block around oraclelinux base package install

Allow operators to customise the base package setup for oraclelinux in
base, similar to Ubuntu (block base_ubuntu_package_installation)

TrivialFix

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

diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2
index cd5baf12e5..6da12b1970 100644
--- a/docker/base/Dockerfile.j2
+++ b/docker/base/Dockerfile.j2
@@ -114,6 +114,7 @@ RUN yum -y install \
 
     {% if base_distro == 'oraclelinux' %}
 
+{% block base_oraclelinux_package_installation %}
 COPY oraclelinux-extras.repo /etc/yum.repos.d/oraclelinux-extras.repo
 RUN yum -y install \
         tar \
@@ -133,6 +134,7 @@ RUN yum -y install \
     && yum -y install \
            yum-plugin-priorities \
     && yum clean all
+{% endblock %}
 
     {% endif %}
     {# Endif for base_distro oraclelinux #}