diff --git a/Dockerfile b/Dockerfile index c28f247b..e5767b0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -70,8 +70,10 @@ RUN yum install -y nano python3-psycopg2 httpd.x86_64 conda gridsite mod_ssl.x86 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 + yum install /tmp/oracle-instantclient-sqlplus-linuxx64.rpm -y + +# Grab the latest version of the Oracle tnsnames.ora file +RUN ln -fs /data/panda/tnsnames.ora /etc/tnsnames.ora RUN yum clean all && rm -rf /var/cache/yum