-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update condor to es scripts to es version 8.15 & python 3.11
- Loading branch information
Showing
3 changed files
with
84 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,24 @@ | ||
FROM almalinux:8 | ||
FROM almalinux:8.9 | ||
|
||
ARG CLIENT_ID | ||
ARG CLIENT_SECRET | ||
ARG TOKEN_URL | ||
|
||
ENV CLIENT_ID=${CLIENT_ID} | ||
ENV CLIENT_SECRET=${CLIENT_SECRET} | ||
ENV TOKEN_URL=${TOKEN_URL} | ||
|
||
RUN dnf -y install epel-release && \ | ||
yum install -y https://repo.opensciencegrid.org/osg/23-main/osg-23-main-el8-release-latest.rpm && \ | ||
yum install -y osg-ca-certs && \ | ||
dnf install -y python38 python38-pip && \ | ||
dnf install -y https://repo.opensciencegrid.org/osg/23-main/osg-23-main-el8-release-latest.rpm && \ | ||
dnf install -y osg-ca-certs && \ | ||
dnf install -y python3.11 python3.11-pip wget tar && \ | ||
dnf clean all && yum clean all && \ | ||
ln -s /usr/bin/python3.8 /usr/bin/python && \ | ||
pip3.8 install --no-cache-dir 'elasticsearch>=6.0.0,<7.0.0' 'elasticsearch-dsl>=6.0.0,<7.0.0' htcondor requests prometheus_client | ||
ln -s /usr/bin/python3.11 /usr/bin/python && \ | ||
wget https://github.com/WIPACrepo/rest-tools/archive/refs/tags/v1.8.2.tar.gz && \ | ||
pip3.11 install --no-cache-dir elasticsearch elasticsearch htcondor requests prometheus_client setuptools ./v1.8.2.tar.gz | ||
|
||
COPY . /monitoring | ||
|
||
WORKDIR /monitoring | ||
|
||
ENV CONDOR_CONFIG=/monitoring/condor_config | ||
ENV CONDOR_CONFIG=/monitoring/condor_config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters