Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Informatica Secure Agent
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
interop
iics
Informatica Secure Agent
Commits
0bf00a73
Commit
0bf00a73
authored
4 years ago
by
Eric Schoville
Browse files
Options
Downloads
Patches
Plain Diff
Odbcinst update -INPLATFORM-298
parent
774b5a95
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+2
-3
2 additions, 3 deletions
Dockerfile
odbcinst.ini
+9
-0
9 additions, 0 deletions
odbcinst.ini
with
11 additions
and
3 deletions
Dockerfile
+
2
−
3
View file @
0bf00a73
...
@@ -31,12 +31,11 @@ unzip \
...
@@ -31,12 +31,11 @@ unzip \
jq
\
jq
\
sqlite3
\
sqlite3
\
libsqliteodbc
\
libsqliteodbc
\
unixodbc
\
wget
wget
# Snowflake ODBC
# Snowflake ODBC
RUN
wget
--no-directories
--recursive
--level
=
1
--no-parent
--accept
'snowflake-odbc*.deb'
https://sfc-repo.snowflakecomputing.com/odbc/linux/latest/index.html
&&
\
RUN
wget
--no-directories
--recursive
--level
=
1
--no-parent
--accept
'snowflake-odbc*.deb'
https://sfc-repo.snowflakecomputing.com/odbc/linux/latest/index.html
&&
\
dpkg
-i
snowflake-odbc
*
.deb
&&
\
dpkg
-i
--ignore-depends
=
unixodbc
snowflake-odbc
*
.deb
&&
\
rm
snowflake-odbc
*
.deb
rm
snowflake-odbc
*
.deb
# Set the locale, Locale defaults are necessary for agent to operate correctly
# Set the locale, Locale defaults are necessary for agent to operate correctly
...
@@ -52,7 +51,7 @@ RUN mkdir /exports && chown $USER:$USER /exports
...
@@ -52,7 +51,7 @@ RUN mkdir /exports && chown $USER:$USER /exports
USER
$USER
USER
$USER
# Add the SQLite ODBC information. The main odbcinst.ini is in INFA_HOME directory.
# Add the SQLite ODBC information. The main odbcinst.ini is in INFA_HOME directory.
ADD
odbcinst.ini /home/agent/.odbcinst.ini
COPY
--chown=agent
odbcinst.ini /home/agent/.odbcinst.ini
# Create directories so that volume mounts pick up the correct users
# Create directories so that volume mounts pick up the correct users
RUN
mkdir
-p
~/databases
&&
\
RUN
mkdir
-p
~/databases
&&
\
...
...
This diff is collapsed.
Click to expand it.
odbcinst.ini
+
9
−
0
View file @
0bf00a73
...
@@ -3,3 +3,12 @@ Description = SQLite3 ODBC Driver
...
@@ -3,3 +3,12 @@ Description = SQLite3 ODBC Driver
Driver
=
/usr/lib/x86_64-linux-gnu/odbc/libsqlite3odbc.so
Driver
=
/usr/lib/x86_64-linux-gnu/odbc/libsqlite3odbc.so
Setup
=
/usr/lib/x86_64-linux-gnu/odbc/libsqlite3odbc.so
Setup
=
/usr/lib/x86_64-linux-gnu/odbc/libsqlite3odbc.so
UsageCount
=
1
UsageCount
=
1
[SnowflakeDSIIDriver]
APILevel
=
1
ConnectFunctions
=
YYY
Description
=
Snowflake DSII
Driver
=
/usr/lib/snowflake/odbc/lib/libSnowflake.so
DriverODBCVer
=
03.52
SQLLevel
=
1
UsageCount
=
1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment