You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "antiwari001 (via GitHub)" <gi...@apache.org> on 2023/08/30 11:42:03 UTC
[GitHub] [superset] antiwari001 commented on issue #20371: Can't connect to Oracle DB
antiwari001 commented on issue #20371:
URL: https://github.com/apache/superset/issues/20371#issuecomment-1699000173
Found a solution to above problem, used docker image apache/superset to build another custom container and that resolved this issue. PSB Dockerfile working fine.
FROM apache/superset
USER root
RUN pip install cx_Oracle
RUN apt update
RUN apt -y install alien libaio1 wget
RUN wget https://download.oracle.com/otn_software/linux/instantclient/185000/oracle-instantclient18.5-basiclite-18.5.0.0.0-3.x86_64.rpm
RUN alien -i oracle-instantclient18.5-basiclite-18.5.0.0.0-3.x86_64.rpm
RUN sh -c 'echo /usr/lib/oracle/18.5/client64/lib/ > /etc/ld.so.conf.d/oracle.conf'
RUN ldconfig
USER superset
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org