Skip to content

Commit

Permalink
Merge pull request #37 from ministryofjustice/cb--add-sqlplus
Browse files Browse the repository at this point in the history
Add SQL*Plus to the Oracle Datascience Notebook
  • Loading branch information
calumabarnett authored Jul 16, 2020
2 parents e467fe6 + b0884be commit d9a60bb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions oracle-datascience-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ RUN conda update conda \
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
Expand Down

0 comments on commit d9a60bb

Please sign in to comment.