Skip to content

Commit

Permalink
Merge pull request #391 from PanDAWMS/oraclesupport
Browse files Browse the repository at this point in the history
Install Oracle Instant Client and tnsnames.ora
  • Loading branch information
EdwardKaravakis authored Aug 2, 2024
2 parents cbd79c1 + efd9f95 commit edd27c9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ RUN ln -s /opt/panda/lib/python*/site-packages/mod_wsgi/server/mod_wsgi*.so /etc
# install the oracle client to be able to support Oracle
RUN /opt/panda/bin/pip install --no-cache-dir oracledb

# install Oracle Instant Client and tnsnames.ora
RUN wget https://download.oracle.com/otn_software/linux/instantclient/oracle-instantclient-basic-linuxx64.rpm -P /tmp/ && \
yum install /tmp/oracle-instantclient-basic-linuxx64.rpm -y && \
wget https://download.oracle.com/otn_software/linux/instantclient/oracle-instantclient-sqlplus-linuxx64.rpm -P /tmp/ && \
yum install /tmp/oracle-instantclient-sqlplus-linuxx64.rpm -y && \
rpm -ivh http://linuxsoft.cern.ch/cern/centos/7/cernonly/x86_64/Packages/oracle-instantclient-tnsnames.ora-1.4.4-1.el7.cern.noarch.rpm


WORKDIR /
RUN rm -rf /tmp/src

Expand Down
2 changes: 1 addition & 1 deletion PandaPkgInfo.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
release_version = "0.3.16"
release_version = "0.3.17"

0 comments on commit edd27c9

Please sign in to comment.