Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
File Transfer Service
fts-rest
Commits
de576417
Commit
de576417
authored
May 20, 2018
by
Andrea Manzi
Browse files
remove cern repo from dockerfile
parent
bdfcf080
Pipeline
#389800
passed with stage
in 4 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
packaging/docker/Dockerfile
View file @
de576417
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
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment