File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,15 @@ RUN \
12
12
log () { printf "\n %s\t %s\n\n " "$(date '+%F %X %z')" "$*" ; } ; \
13
13
# Grab the major version /etc/os-release \
14
14
DVER=$(awk -F '[=".]+' '/^VERSION_ID=/ {print $2}' /etc/os-release); \
15
+ if [ $DVER = 10 ] && [ "$(rpm -E '%{x86_64_v2}')" = 1 ]; then \
16
+ OSG_URL=https://repo.osg-htc.org/osg/${OSG_RELEASE}-main/osg-${OSG_RELEASE}-main-el10-release-latest.x86_64_v2.rpm; \
17
+ else \
18
+ OSG_URL=https://repo.osg-htc.org/osg/${OSG_RELEASE}-main/osg-${OSG_RELEASE}-main-el${DVER}-release-latest.rpm; \
19
+ fi; \
15
20
log "Updating OS YUM cache" && time \
16
21
yum makecache && \
17
22
log "Updating OS" && time \
18
23
yum distro-sync -y && \
19
- OSG_URL=https://repo.osg-htc.org/osg/${OSG_RELEASE}-main/osg-${OSG_RELEASE}-main-el${DVER}-release-latest.rpm && \
20
24
log "Installing EPEL/OSG repo packages" && time \
21
25
yum -y install $OSG_URL \
22
26
epel-release \
You can’t perform that action at this time.
0 commit comments