Merge "Allow operators to override versionlock for redhat in base"
This commit is contained in:
commit
dd0988f074
@ -157,11 +157,13 @@ RUN yum -y install \
|
|||||||
{# We are back to the basic if conditional here which is:
|
{# We are back to the basic if conditional here which is:
|
||||||
if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] #}
|
if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] #}
|
||||||
|
|
||||||
|
{% block base_redhat_binary_versionlock %}
|
||||||
RUN yum -y update \
|
RUN yum -y update \
|
||||||
&& yum -y install \
|
&& yum -y install \
|
||||||
yum-plugin-versionlock \
|
yum-plugin-versionlock \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
COPY versionlock.list /etc/yum/pluginconf.d/
|
COPY versionlock.list /etc/yum/pluginconf.d/
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% set base_centos_binary_packages = [
|
{% set base_centos_binary_packages = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user