Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Google composer AIRFLOW - Netsuite ODBC Issue
1) I Downloaded the Netsuite ODBC Driver zip file from https://6765252-sb1.app.netsuite.com/app/external/odbc/suiteAnalyticsConnectDownload.nl for linux 64 bit.
2) I use Docker Container and here is my DockerFile
FROM python:3.7 # here goes the source code ADD projects/netsuite /netsuite ADD projects/utils /utils ENV PYTHONPATH="$PYTHONPATH:/projects" # creating directory RUN mkdir /opt/netsuite RUN mkdir /opt/netsuite/odbcclient/ # copying the ODBC zip file to this directory COPY projects/netsuite/NetSuiteODBCDrivers_Linux64bit.zip /opt/netsuite/odbcclient/ COPY projects/netsuite/Certificates.zip /opt/netsuite/odbcclient/ # install system dependencies RUN apt-get update \ && apt-get -y install gcc \ && apt-get -y install g++ \ && apt-get -y install unixodbc unixodbc-dev \ && apt-get clean # unzip the odbc file RUN unzip /opt/netsuite/odbcclient/NetSuiteODBCDrivers_Linux64bit.zip \ && unzip /opt/netsuite/odbcclient/Certificates.zip # moving the odbcinst and odbc64.ini files to /etc/ location ADD projects/netsuite/odbcinst.ini /etc/odbcinst.ini ADD projects/netsuite/odbc64.ini /etc/odbc64.ini RUN pip
0