Skip to content

Commit

Permalink
Move Centos repofile
Browse files Browse the repository at this point in the history
  • Loading branch information
federicaagostini committed Aug 1, 2024
1 parent abf39ba commit 5ad7777
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion docker/testsuite/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ARG VOMS_REPO=stable

ENV VOMS_REPO_URL=https://italiangrid.github.io/voms-repo/repofiles/rhel/voms-${VOMS_REPO}-el${RHEL_VERSION}.repo

COPY ../CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo
COPY CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo
COPY assets/scripts/*.sh /tmp/scripts/

RUN yum install -y epel-release \
Expand Down
24 changes: 24 additions & 0 deletions docker/voms/CentOS-Base.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[base]
name=CentOS-$releasever - Base
baseurl=http://vault.centos.org/7.9.2009/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

[updates]
name=CentOS-$releasever - Updates
baseurl=http://vault.centos.org/7.9.2009/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

[extras]
name=CentOS-$releasever - Extras
baseurl=http://vault.centos.org/7.9.2009/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://vault.centos.org/7.9.2009/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
2 changes: 1 addition & 1 deletion docker/voms/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ARG UMD_RELEASE_PACKAGE_URL=http://repository.egi.eu/sw/production/umd/4/centos7

ENV VOMS_REPO_URL=https://italiangrid.github.io/voms-repo/repofiles/rhel/voms-${VOMS_REPO}-el${RHEL_VERSION}.repo

COPY ../CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo
COPY CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo
COPY assets/scripts/*.sh /tmp/scripts/

RUN yum -y install hostname which wget tar sudo file less epel-release ${UMD_RELEASE_PACKAGE_URL} yum-utils
Expand Down

0 comments on commit 5ad7777

Please sign in to comment.