From 19c5e97c8953314086c190b8810b5b1d5caf16f1 Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Wed, 31 Aug 2016 14:47:17 +0100 Subject: [PATCH] Allow operators to override versionlock for redhat in base TrivialFix Change-Id: Iedec701e76cdf4e336abeae1286ba6359fcfeba1 --- docker/base/Dockerfile.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2 index cd5baf12e5..015d4a965f 100644 --- a/docker/base/Dockerfile.j2 +++ b/docker/base/Dockerfile.j2 @@ -155,11 +155,13 @@ RUN yum -y install \ {# We are back to the basic if conditional here which is: if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] #} +{% block base_redhat_binary_versionlock %} RUN yum -y update \ && yum -y install \ yum-plugin-versionlock \ && yum clean all COPY versionlock.list /etc/yum/pluginconf.d/ +{% endblock %} {% if install_type == 'binary' %} {% set base_centos_binary_packages = [