Skip to content

Commit

Permalink
odbcinst multiplatform support
Browse files Browse the repository at this point in the history
  • Loading branch information
k-wolski committed Sep 17, 2024
1 parent d267874 commit 49cfdc6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc

COPY docker/odbcinst.ini /etc
RUN sed "s/PLATFORM/$(uname -m)/" /etc/odbcinst.ini

WORKDIR ${HOME}

Expand Down
10 changes: 5 additions & 5 deletions docker/odbcinst.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[ODBC Driver 17 for SQL Server]
Description=Microsoft ODBC Driver 17 for SQL Server
Driver=/opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.10.so.1.1
[ODBC Driver 18 for SQL Server]
Description=Microsoft ODBC Driver 18 for SQL Server
Driver=/opt/microsoft/msodbcsql18/lib64/libmsodbcsql-18.4.so.1.1
UsageCount=1

[SQLite]
Description=SQLite3 ODBC Driver
Driver=/usr/lib/x86_64-linux-gnu/odbc/libsqlite3odbc.so
Setup=/usr/lib/x86_64-linux-gnu/odbc/libsqlite3odbc.so
Driver=/usr/lib/PLATFORM-linux-gnu/odbc/libsqlite3odbc.so
Setup=/usr/lib/PLATFORM-linux-gnu/odbc/libsqlite3odbc.so
UsageCount=1
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "viadot2"
version = "2.1.18"
version = "2.1.19"
description = "A simple data ingestion library to guide data flows from some places to other places."
authors = [
{ name = "acivitillo", email = "[email protected]" },
Expand Down

0 comments on commit 49cfdc6

Please sign in to comment.