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 \
1212 log () { printf "\n %s\t %s\n\n " "$(date '+%F %X %z')" "$*" ; } ; \
1313 # Grab the major version /etc/os-release \
1414 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; \
1520 log "Updating OS YUM cache" && time \
1621 yum makecache && \
1722 log "Updating OS" && time \
1823 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 && \
2024 log "Installing EPEL/OSG repo packages" && time \
2125 yum -y install $OSG_URL \
2226 epel-release \
You can’t perform that action at this time.
0 commit comments