Skip to content

Commit

Permalink
Fix EL7 dependency failure caused by OSG's rrdtool
Browse files Browse the repository at this point in the history
  • Loading branch information
matyasselmeci committed Dec 14, 2023
1 parent 79eb672 commit cf34a83
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion opensciencegrid/ospool-ganglia/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ FROM opensciencegrid/ospool-cm:$BASE_OSG_SERIES-$BASE_YUM_REPO
# has to be redefined for use in the RUN stages
ARG BASE_YUM_REPO

RUN yum -y install \
# Do not use OSG's rrdtool on EL7 -- it is too new and causes dependency failures
RUN . /etc/os-release && \
if [ "$VERSION_ID" = "7*" ]; then \
yum -y install rrdtool --disablerepo=osg\*; \
fi && \
yum -y install \
ganglia-gmond \
ganglia-gmetad \
ganglia-web \
Expand Down

0 comments on commit cf34a83

Please sign in to comment.