Skip to content
Snippets Groups Projects
Verified Commit 797321bf authored by Adam Mercer's avatar Adam Mercer
Browse files

skip osg and condor repos if unavailable

parent f0eeb87d
No related branches found
No related tags found
No related merge requests found
......@@ -12,13 +12,13 @@ RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.r
dnf clean all
# enable htcondor repo
RUN dnf -y install https://research.cs.wisc.edu/htcondor/repo/9.0/htcondor-release-current.el8.noarch.rpm
RUN dnf -y install https://research.cs.wisc.edu/htcondor/repo/9.0/htcondor-release-current.el8.noarch.rpm && \
dnf config-manager -q --save --setopt="htcondor.skip_if_unavailable=true" &> /dev/null
# add osg repository
RUN dnf -y install https://repo.opensciencegrid.org/osg/3.5/osg-3.5-el8-release-latest.rpm
# exclude htcondor from osg repo
RUN dnf config-manager -q --save --setopt="osg.exclude=*condor*" &> /dev/null
RUN dnf -y install https://repo.opensciencegrid.org/osg/3.5/osg-3.5-el8-release-latest.rpm && \
dnf config-manager -q --save --setopt="osg.skip_if_unavailable=true" &> /dev/null && \
dnf config-manager -q --save --setopt="osg.exclude=*condor*" &> /dev/null
# install extra packages
RUN dnf -y install \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment