Skip to content
Snippets Groups Projects
Commit e2d18338 authored by Eric Schoville's avatar Eric Schoville
Browse files

Merge branch 'snowflake' into 'master'

Snowflake ODBC - INPLATFORM-298

See merge request !26
parents 9b5c1447 c355f4a3
No related branches found
No related tags found
1 merge request!26Snowflake ODBC - INPLATFORM-298
......@@ -30,7 +30,14 @@ sudo \
unzip \
jq \
sqlite3 \
libsqliteodbc
libsqliteodbc \
unixodbc \
wget
# 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 && \
dpkg -i snowflake-odbc*.deb && \
rm snowflake-odbc*.deb
# Set the locale, Locale defaults are necessary for agent to operate correctly
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen
......
......@@ -4,6 +4,7 @@
* [Description](#description)
* [Requirements](#requirements)
* [The Image](#the-image)
* [ODBC](#odbc)
* [Containers](#containers)
* [Environment Variables](#environment-variables)
* [Externalized Configurations](#externalized-configurations)
......@@ -49,6 +50,10 @@ The image is based on Ubuntu 18.04. It downloads and installs necessary depende
1. Clone this repository.
2. `docker build . -t iics_secure_agent:<tag>` - optionally pass --build-arg parameters for POD and REGION if the defaults are not correct. POD and REGION are also set as environment variables, because containers will use these values for communicating with the Informatica API.
### ODBC
[odbc]: #odbc
ODBC support has been added to this image, specifically support for SQLite3 and Snowflake. An odbc.ini file can be mounted into the container as /home/agent/.odbc.ini for setting up connections. Local files can be mounted or copied into the container as necessary.
## Containers
[container]: #containers
The container executes a bash script called run_agent.sh upon start. It needs INFORMATICA_USER and INFORMATICA_PASSWORD environment variables set during runtime in order to communicate with the Informatica API to check and register the Secure Agent.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment