Skip to content
Snippets Groups Projects
Commit b0159f7e authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Install yum-plugin-priorities on RHEL-derivatives"

parents afb30cbe a9d57069
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ RUN yum-config-manager --enable rhel-7-server-rpms \
RUN rpm -e --nodeps systemd-container systemd-container-libs \
&& rpm -e --nodeps yum-plugin-fastestmirror \
&& yum -y install systemd systemd-libs systemd-devel \
&& yum install -y epel-release \
&& yum install -y epel-release yum-plugin-priorities \
&& yum clean all
{% endif %}
......@@ -81,6 +81,7 @@ RUN rpm -e --nodeps systemd-container systemd-container-libs \
# Turn on EPEL throughout the build
RUN yum install -y \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
&& yum -y install yum-plugin-priorities \
&& yum clean all \
&& yum-config-manager --enable rhel-7-server-optional-rpms \
&& yum-config-manager --enable rhel-7-server-extras-rpms
......@@ -95,6 +96,7 @@ RUN yum install -y \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
&& yum clean all
RUN yum-config-manager --enable ol7_optional_latest ol7_addons
RUN yum install -y yum-plugin-priorities
{% endif %}
# Endif for base_distro oraclelinux
......@@ -104,6 +106,7 @@ RUN yum-config-manager --enable ol7_optional_latest ol7_addons
# Set up repositories
RUN yum install -y https://rdo.fedorapeople.org/rdo-release.rpm \
&& yum -y install dnf dnf-plugins-core \
&& yum -y install yum-plugin-priorities \
&& yum clean all
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment