Discussions

Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!

Google composer AIRFLOW - Netsuite ODBC Issue

edited Mar 30, 2022 5:19PM in SuiteCloud / Customization 11 comments

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 3 (Jul-Sep 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders