Skip to content

Commit

Permalink
update for EL9
Browse files Browse the repository at this point in the history
  • Loading branch information
Lincoln Bryant committed May 20, 2024
1 parent 2fa50da commit bac83b1
Showing 1 changed file with 10 additions and 20 deletions.
30 changes: 10 additions & 20 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=hub.opensciencegrid.org/opensciencegrid/software-base:3.6-el7-release
ARG BASE_IMAGE=hub.opensciencegrid.org/opensciencegrid/software-base:23-el9-release
FROM ${BASE_IMAGE}
ARG BASE_IMAGE

Expand All @@ -12,38 +12,27 @@ RUN yum install -y \
git \
bc \
bind-utils \
cpio \
ed \
file \
bzip2 \
gnupg2 \
libaio \
rdate \
rng-tools \
rsync \
tcsh \
time \
wget \
which \
words \
xz \
zip \
yum-utils \
dos2unix \
man-db \
telnet

#RUN yum install https://linuxsoft.cern.ch/wlcg/centos7/x86_64/wlcg-repo-1.0.0-1.el7.noarch.rpm -y
#RUN yum install HEP_OSlibs
RUN yum install http://mirror.grid.uchicago.edu/pub/mwt2/sw/el7/HEP_OSlibs-7.2.9-1.el7.cern.x86_64.rpm -y
RUN yum install -y https://research.cs.wisc.edu/htcondor/repo/current/htcondor-release-current.el7.noarch.rpm

RUN yum install --disablerepo=osg-upcoming -y condor
RUN yum install -y https://linuxsoft.cern.ch/wlcg/centos7/x86_64/wlcg-repo-1.0.0-1.el7.noarch.rpm
RUN yum install -y https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-repo-1.0.0-1.el9.noarch.rpm
RUN yum install -y HEP_OSlibs
RUN yum install -y condor
RUN yum install -y python3-pip

RUN yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
RUN yum install -y docker-ce-cli
RUN yum install -y http://mirror.grid.uchicago.edu/pub/mwt2/sw/el7/mwt2-sysview-worker-2.0.6-1.el7.noarch.rpm
RUN yum install -y python36-tabulate
RUN yum install -y http://mirror.grid.uchicago.edu/pub/mwt2/sw/el9/mwt2-sysview-worker-2.0.6-1.noarch.rpm

COPY condor/*.conf /etc/condor/config.d/
COPY supervisor/* /etc/supervisord.d/
Expand All @@ -53,9 +42,10 @@ COPY scripts/condor_node_check.sh /usr/local/sbin/
COPY scripts/entrypoint.sh /bin/entrypoint.sh

COPY prometheus/exporter.py /app/
RUN pip3 install prometheus_client

RUN pip3 install python3-memcached
RUN pip install prometheus_client

RUN pip install python3-memcached
RUN chmod 755 /usr/local/sbin/condor_node_check.sh

# Igor's wrapper for singularity to make things work inside of K8S, requires OASIS CVMFS
Expand Down

0 comments on commit bac83b1

Please sign in to comment.