Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instal odbc Drivers #659

Open
wants to merge 25 commits into
base: master-2.0
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove one dep
wg102 committed Oct 29, 2024
commit 3a227c39a7b1a3ed5c9527fd5213e723d64fcf7e
10 changes: 1 addition & 9 deletions docker-bits/∞_CMD.Dockerfile
Original file line number Diff line number Diff line change
@@ -30,8 +30,7 @@ RUN conda config --remove channels conda-forge --system
#

RUN apt-get update --yes \
&& sudo apt-get -y install gnupg \
&& apt-get -y install gnupg2
&& sudo apt-get -y install gnupg

RUN curl -sS https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/mssql.gpg
RUN curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
@@ -71,13 +70,6 @@ RUN sh -c 'echo Driver = /opt/oracle/instantclient_23_5/libsqora.so.23.5 > /etc/

RUN ln -s /opt/oracle/instantclient_23_5/libclntsh.so.23.1 /usr/lib/libclntsh.so
RUN ldconfig
# Ended up downloading the zip packages and installing in
# /opt/oracle/instantclient_23_4,
# and then then I added env ORACLE_HOME=/opt/oracle/instantclient_23_4,
# add same path to PATH, and made the files oracle.conf + oracle-instantclient.conf in /etc/ld.so.conf.d/,
# with /opt/oracle/instantclient_23_4/lib/ in the first one and /opt/oracle/instantclient_23_4/ in the second (followed by sudo ldconfig)



USER $NB_USER
ENTRYPOINT ["tini", "--"]
10 changes: 1 addition & 9 deletions output/docker-stacks-datascience-notebook/Dockerfile
Original file line number Diff line number Diff line change
@@ -36,8 +36,7 @@ RUN conda config --remove channels conda-forge --system
#

RUN apt-get update --yes \
&& sudo apt-get -y install gnupg \
&& apt-get -y install gnupg2
&& sudo apt-get -y install gnupg

RUN curl -sS https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/mssql.gpg
RUN curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
@@ -77,13 +76,6 @@ RUN sh -c 'echo Driver = /opt/oracle/instantclient_23_5/libsqora.so.23.5 > /etc/

RUN ln -s /opt/oracle/instantclient_23_5/libclntsh.so.23.1 /usr/lib/libclntsh.so
RUN ldconfig
# Ended up downloading the zip packages and installing in
# /opt/oracle/instantclient_23_4,
# and then then I added env ORACLE_HOME=/opt/oracle/instantclient_23_4,
# add same path to PATH, and made the files oracle.conf + oracle-instantclient.conf in /etc/ld.so.conf.d/,
# with /opt/oracle/instantclient_23_4/lib/ in the first one and /opt/oracle/instantclient_23_4/ in the second (followed by sudo ldconfig)



USER $NB_USER
ENTRYPOINT ["tini", "--"]
10 changes: 1 addition & 9 deletions output/jupyterlab-cpu/Dockerfile
Original file line number Diff line number Diff line change
@@ -548,8 +548,7 @@ RUN conda config --remove channels conda-forge --system
#

RUN apt-get update --yes \
&& sudo apt-get -y install gnupg \
&& apt-get -y install gnupg2
&& sudo apt-get -y install gnupg

RUN curl -sS https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/mssql.gpg
RUN curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
@@ -589,13 +588,6 @@ RUN sh -c 'echo Driver = /opt/oracle/instantclient_23_5/libsqora.so.23.5 > /etc/

RUN ln -s /opt/oracle/instantclient_23_5/libclntsh.so.23.1 /usr/lib/libclntsh.so
RUN ldconfig
# Ended up downloading the zip packages and installing in
# /opt/oracle/instantclient_23_4,
# and then then I added env ORACLE_HOME=/opt/oracle/instantclient_23_4,
# add same path to PATH, and made the files oracle.conf + oracle-instantclient.conf in /etc/ld.so.conf.d/,
# with /opt/oracle/instantclient_23_4/lib/ in the first one and /opt/oracle/instantclient_23_4/ in the second (followed by sudo ldconfig)



USER $NB_USER
ENTRYPOINT ["tini", "--"]
10 changes: 1 addition & 9 deletions output/jupyterlab-pytorch/Dockerfile
Original file line number Diff line number Diff line change
@@ -570,8 +570,7 @@ RUN conda config --remove channels conda-forge --system
#

RUN apt-get update --yes \
&& sudo apt-get -y install gnupg \
&& apt-get -y install gnupg2
&& sudo apt-get -y install gnupg

RUN curl -sS https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/mssql.gpg
RUN curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
@@ -611,13 +610,6 @@ RUN sh -c 'echo Driver = /opt/oracle/instantclient_23_5/libsqora.so.23.5 > /etc/

RUN ln -s /opt/oracle/instantclient_23_5/libclntsh.so.23.1 /usr/lib/libclntsh.so
RUN ldconfig
# Ended up downloading the zip packages and installing in
# /opt/oracle/instantclient_23_4,
# and then then I added env ORACLE_HOME=/opt/oracle/instantclient_23_4,
# add same path to PATH, and made the files oracle.conf + oracle-instantclient.conf in /etc/ld.so.conf.d/,
# with /opt/oracle/instantclient_23_4/lib/ in the first one and /opt/oracle/instantclient_23_4/ in the second (followed by sudo ldconfig)



USER $NB_USER
ENTRYPOINT ["tini", "--"]
10 changes: 1 addition & 9 deletions output/jupyterlab-tensorflow/Dockerfile
Original file line number Diff line number Diff line change
@@ -677,8 +677,7 @@ RUN conda config --remove channels conda-forge --system
#

RUN apt-get update --yes \
&& sudo apt-get -y install gnupg \
&& apt-get -y install gnupg2
&& sudo apt-get -y install gnupg

RUN curl -sS https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/mssql.gpg
RUN curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
@@ -718,13 +717,6 @@ RUN sh -c 'echo Driver = /opt/oracle/instantclient_23_5/libsqora.so.23.5 > /etc/

RUN ln -s /opt/oracle/instantclient_23_5/libclntsh.so.23.1 /usr/lib/libclntsh.so
RUN ldconfig
# Ended up downloading the zip packages and installing in
# /opt/oracle/instantclient_23_4,
# and then then I added env ORACLE_HOME=/opt/oracle/instantclient_23_4,
# add same path to PATH, and made the files oracle.conf + oracle-instantclient.conf in /etc/ld.so.conf.d/,
# with /opt/oracle/instantclient_23_4/lib/ in the first one and /opt/oracle/instantclient_23_4/ in the second (followed by sudo ldconfig)



USER $NB_USER
ENTRYPOINT ["tini", "--"]
10 changes: 1 addition & 9 deletions output/rstudio/Dockerfile
Original file line number Diff line number Diff line change
@@ -295,8 +295,7 @@ RUN conda config --remove channels conda-forge --system
#

RUN apt-get update --yes \
&& sudo apt-get -y install gnupg \
&& apt-get -y install gnupg2
&& sudo apt-get -y install gnupg

RUN curl -sS https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/mssql.gpg
RUN curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
@@ -336,13 +335,6 @@ RUN sh -c 'echo Driver = /opt/oracle/instantclient_23_5/libsqora.so.23.5 > /etc/

RUN ln -s /opt/oracle/instantclient_23_5/libclntsh.so.23.1 /usr/lib/libclntsh.so
RUN ldconfig
# Ended up downloading the zip packages and installing in
# /opt/oracle/instantclient_23_4,
# and then then I added env ORACLE_HOME=/opt/oracle/instantclient_23_4,
# add same path to PATH, and made the files oracle.conf + oracle-instantclient.conf in /etc/ld.so.conf.d/,
# with /opt/oracle/instantclient_23_4/lib/ in the first one and /opt/oracle/instantclient_23_4/ in the second (followed by sudo ldconfig)



USER $NB_USER
ENTRYPOINT ["tini", "--"]
10 changes: 1 addition & 9 deletions output/sas/Dockerfile
Original file line number Diff line number Diff line change
@@ -532,8 +532,7 @@ RUN conda config --remove channels conda-forge --system
#

RUN apt-get update --yes \
&& sudo apt-get -y install gnupg \
&& apt-get -y install gnupg2
&& sudo apt-get -y install gnupg

RUN curl -sS https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/mssql.gpg
RUN curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
@@ -573,13 +572,6 @@ RUN sh -c 'echo Driver = /opt/oracle/instantclient_23_5/libsqora.so.23.5 > /etc/

RUN ln -s /opt/oracle/instantclient_23_5/libclntsh.so.23.1 /usr/lib/libclntsh.so
RUN ldconfig
# Ended up downloading the zip packages and installing in
# /opt/oracle/instantclient_23_4,
# and then then I added env ORACLE_HOME=/opt/oracle/instantclient_23_4,
# add same path to PATH, and made the files oracle.conf + oracle-instantclient.conf in /etc/ld.so.conf.d/,
# with /opt/oracle/instantclient_23_4/lib/ in the first one and /opt/oracle/instantclient_23_4/ in the second (followed by sudo ldconfig)



USER $NB_USER
ENTRYPOINT ["tini", "--"]