Commit de576417 authored by Andrea Manzi's avatar Andrea Manzi
Browse files

remove cern repo from dockerfile

parent bdfcf080
Pipeline #389800 passed with stage
in 4 minutes and 58 seconds
FROM centos:7
MAINTAINER CERN
# Add cern repos
ADD http://linux.web.cern.ch/linux/centos7/CentOS-CERN.repo /etc/yum.repos.d/CentOS-CERN.repo
ADD http://linuxsoft.cern.ch/cern/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7 /tmp/RPM-GPG-KEY-cern
RUN /usr/bin/rpm --import /tmp/RPM-GPG-KEY-cern \
&& /usr/bin/yum --enablerepo=*-testing clean all \
&& rm /tmp/RPM-GPG-KEY-cern \
&& rm -rf /var/cache/yum
#add EPEL repos
ADD http://mirror.switch.ch/ftp/mirror/epel/epel-release-latest-7.noarch.rpm /tmp/epel-release-7.noarch.rpm
RUN yum localinstall /tmp/epel-release-7.noarch.rpm -y \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment