Skip to content
Snippets Groups Projects
Commit 11e0cca9 authored by Cedric Verstege's avatar Cedric Verstege
Browse files

Versionlock for epel

parent ba520133
Branches
No related tags found
No related merge requests found
Pipeline #3826 passed
......@@ -3,11 +3,13 @@ FROM cern/cc7-base:latest
# CERN doesn't provide an EPEL mirror anymore
RUN yum -y remove epel-release
RUN yum -y update && \
yum -y clean all && rm -rf /var/cache
# Install epel from fedora archive
RUN yum -y install https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm && \
yum versionlock epel-* && \
yum -y clean all && rm -rf /var/cache
# Update base layer
RUN yum -y update && \
yum -y clean all && rm -rf /var/cache
# Add repos
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment