Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker
base
Commits
797321bf
Verified
Commit
797321bf
authored
2 years ago
by
Adam Mercer
Browse files
Options
Downloads
Patches
Plain Diff
skip osg and condor repos if unavailable
parent
f0eeb87d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+5
-5
5 additions, 5 deletions
Dockerfile
with
5 additions
and
5 deletions
Dockerfile
+
5
−
5
View file @
797321bf
...
...
@@ -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
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment