From b0884bee1db69464fcc4c010bf390a7df7d155eb Mon Sep 17 00:00:00 2001 From: calumabarnett Date: Thu, 16 Jul 2020 17:40:14 +0100 Subject: [PATCH] Add SQL*Plus --- oracle-datascience-notebook/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/oracle-datascience-notebook/Dockerfile b/oracle-datascience-notebook/Dockerfile index 90e2536..e6740ad 100644 --- a/oracle-datascience-notebook/Dockerfile +++ b/oracle-datascience-notebook/Dockerfile @@ -16,13 +16,15 @@ RUN conda update conda \ && apt-get install -y $(cat /tmp/apt_packages) libaio1 \ && rm -rf /var/lib/apt/lists/* -# Install Oracle Instant Client +# Install Oracle Instant Client and SQL*Plus # See: https://www.oracle.com/uk/database/technologies/instant-client/linux-x86-64-downloads.html#ic_x64_inst RUN mkdir /opt/oracle \ && cd /opt/oracle \ && curl -sO https://download.oracle.com/otn_software/linux/instantclient/19600/instantclient-basiclite-linux.x64-19.6.0.0.0dbru.zip \ + && curl -sO https://download.oracle.com/otn_software/linux/instantclient/19600/instantclient-sqlplus-linux.x64-19.6.0.0.0dbru.zip \ && unzip instantclient-basiclite-linux.x64-19.6.0.0.0dbru.zip \ - && rm instantclient-basiclite-linux.x64-19.6.0.0.0dbru.zip + && unzip instantclient-sqlplus-linux.x64-19.6.0.0.0dbru.zip \ + && rm instantclient-basiclite-linux.x64-19.6.0.0.0dbru.zip instantclient-sqlplus-linux.x64-19.6.0.0.0dbru.zip RUN sh -c "echo /opt/oracle/instantclient_19_6 > /etc/ld.so.conf.d/oracle-instantclient.conf" \ && ldconfig