diff --git a/opensciencegrid/ospool-ganglia/Dockerfile b/opensciencegrid/ospool-ganglia/Dockerfile index 9ddb9b46..06735be0 100644 --- a/opensciencegrid/ospool-ganglia/Dockerfile +++ b/opensciencegrid/ospool-ganglia/Dockerfile @@ -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 \