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
This commit is contained in:
parent
624d300dc4
commit
f6e8430741
@ -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 #}
|
||||
|
Loading…
x
Reference in New Issue
Block a user