Skip to content

Commit

Permalink
Add SQL*Plus
Browse files Browse the repository at this point in the history
  • Loading branch information
calumabarnett committed Jul 16, 2020
1 parent 02a76b2 commit b0884be
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 @@ -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
Expand Down

0 comments on commit b0884be

Please sign in to comment.