Skip to content

Commit

Permalink
Change 3.9 python dep to 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardKaravakis committed Aug 7, 2024
1 parent 284bd59 commit a6e564c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ COPY . .
RUN yum -y update

RUN yum install -y nano python3-psycopg2 httpd.x86_64 conda gridsite mod_ssl.x86_64 httpd-devel.x86_64 gcc.x86_64 supervisor.noarch fetch-crl.noarch \
python3 python3-devel less git ca-policy-egi-core \
less git ca-policy-egi-core \
httpd-devel.x86_64 gcc.x86_64 supervisor.noarch fetch-crl.noarch wget net-tools sudo \
https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm && \
yum install -y postgresql14 postgresql14-devel
Expand All @@ -75,10 +75,6 @@ RUN wget https://download.oracle.com/otn_software/linux/instantclient/oracle-ins

RUN yum clean all && rm -rf /var/cache/yum

RUN python3 -m venv ${BIGMON_VIRTUALENV_PATH} --system-site-packages

RUN ${BIGMON_VIRTUALENV_PATH}/bin/pip install --no-cache-dir --upgrade setuptools

RUN ${BIGMON_VIRTUALENV_PATH}/bin/pip install --no-cache-dir --upgrade channels pyOpenSSL daphne python-dotenv pyrebase4 confluent_kafka futures psycopg2-binary \
aenum appdirs argcomplete asn1crypto attrs aws bcrypt \
beautifulsoup4 boto3 bz2file cachetools certifi cffi chardet click codegen cryptography oracledb cycler \
Expand Down
2 changes: 1 addition & 1 deletion docker/conf.d/wsgi-httpd.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
LoadModule wsgi_module /opt/bigmon/lib/python3.9/site-packages/mod_wsgi/server/mod_wsgi-py39.cpython-39-x86_64-linux-gnu.so
LoadModule wsgi_module /opt/bigmon/lib/python3.11/site-packages/mod_wsgi/server/mod_wsgi-py311.cpython-311-x86_64-linux-gnu.so

### /devprodsys2
# Redirect /devprodsys to https://prodtask-dev.cern.ch/
Expand Down

0 comments on commit a6e564c

Please sign in to comment.