diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9fc2279 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM ubuntu +MAINTAINER sflyr + +RUN apt-get -y update +RUN apt-get -y install libaio1 unzip +ADD instantclient-basic-linux.x64-11.2.0.3.0.zip / +ADD instantclient-sqlplus-linux.x64-11.2.0.3.0.zip / +ADD instantclient-sdk-linux.x64-11.2.0.3.0.zip / +ADD instantclient-jdbc-linux.x64-11.2.0.3.0.zip / +RUN unzip instantclient-basic-linux.x64-11.2.0.3.0.zip +RUN unzip instantclient-sqlplus-linux.x64-11.2.0.3.0.zip +RUN unzip instantclient-sdk-linux.x64-11.2.0.3.0.zip +RUN unzip instantclient-jdbc-linux.x64-11.2.0.3.0.zip + +ENV LD_LIBRARY_PATH instantclient_11_2 + +# CMD /instantclient_11_2/sqlplus /@//xxx.yyy.eu-west-1.rds.amazonaws.com:1521/ORCL +CMD /instantclient_11_2/sqlplus $URL diff --git a/instantclient-basic-linux.x64-11.2.0.3.0.zip b/instantclient-basic-linux.x64-11.2.0.3.0.zip new file mode 100755 index 0000000..3280972 Binary files /dev/null and b/instantclient-basic-linux.x64-11.2.0.3.0.zip differ diff --git a/instantclient-jdbc-linux.x64-11.2.0.3.0.zip b/instantclient-jdbc-linux.x64-11.2.0.3.0.zip new file mode 100755 index 0000000..98b4cdc Binary files /dev/null and b/instantclient-jdbc-linux.x64-11.2.0.3.0.zip differ diff --git a/instantclient-sdk-linux.x64-11.2.0.3.0.zip b/instantclient-sdk-linux.x64-11.2.0.3.0.zip new file mode 100755 index 0000000..6776dbf Binary files /dev/null and b/instantclient-sdk-linux.x64-11.2.0.3.0.zip differ diff --git a/instantclient-sqlplus-linux.x64-11.2.0.3.0.zip b/instantclient-sqlplus-linux.x64-11.2.0.3.0.zip new file mode 100755 index 0000000..8ab1145 Binary files /dev/null and b/instantclient-sqlplus-linux.x64-11.2.0.3.0.zip differ