-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
9 changed files
with
11 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
FROM quay.io/keboola/aws-cli | ||
ARG AWS_SECRET_ACCESS_KEY | ||
ARG AWS_ACCESS_KEY_ID | ||
RUN /usr/bin/aws s3 cp s3://keboola-drivers/teradata/tdodbc1710-17.10.00.08-1.x86_64.deb /tmp/teradata/tdodbc.deb | ||
RUN /usr/bin/aws s3 cp s3://keboola-drivers/exasol/EXASOL_ODBC-7.1.10.tar.gz /tmp/exasol/odbc.tar.gz | ||
|
||
FROM php:8.1.27-cli-bullseye | ||
FROM php:8.2.20-cli-bullseye | ||
MAINTAINER Keboola <[email protected]> | ||
|
||
ARG COMPOSER_FLAGS="--prefer-dist --no-interaction" | ||
|
@@ -13,7 +12,7 @@ ENV COMPOSER_ALLOW_SUPERUSER 1 | |
ENV COMPOSER_PROCESS_TIMEOUT 3600 | ||
|
||
ARG SQLSRV_VERSION=5.10.1 | ||
ARG SNOWFLAKE_ODBC_VERSION=2.25.12 | ||
ARG SNOWFLAKE_ODBC_VERSION=3.4.1 | ||
ARG SNOWFLAKE_GPG_KEY=630D9F3CAB551AF3 | ||
|
||
WORKDIR /code/ | ||
|
@@ -88,24 +87,6 @@ RUN mkdir -p ~/.gnupg \ | |
&& gpg --batch --delete-key --yes $SNOWFLAKE_GPG_KEY \ | ||
&& dpkg -i /tmp/snowflake-odbc.deb | ||
|
||
# Teradata | ||
COPY --from=0 /tmp/teradata/tdodbc.deb /tmp/teradata/tdodbc.deb | ||
COPY docker/teradata/odbc.ini /tmp/teradata/odbc_td.ini | ||
COPY docker/teradata/odbcinst.ini /tmp/teradata/odbcinst_td.ini | ||
|
||
RUN dpkg -i /tmp/teradata/tdodbc.deb \ | ||
&& cat /tmp/teradata/odbc_td.ini >> /etc/odbc.ini \ | ||
&& cat /tmp/teradata/odbcinst_td.ini >> /etc/odbcinst.ini \ | ||
&& rm -r /tmp/teradata \ | ||
&& docker-php-ext-configure pdo_odbc --with-pdo-odbc=unixODBC,/usr \ | ||
&& docker-php-ext-install pdo_odbc \ | ||
&& docker-php-source delete | ||
|
||
ENV ODBCHOME = /opt/teradata/client/ODBC_64/ | ||
ENV ODBCINI = /opt/teradata/client/ODBC_64/odbc.ini | ||
ENV ODBCINST = /opt/teradata/client/ODBC_64/odbcinst.ini | ||
ENV LD_LIBRARY_PATH = /opt/teradata/client/ODBC_64/lib | ||
|
||
#Exasol | ||
COPY --from=0 /tmp/exasol/odbc.tar.gz /tmp/exasol/odbc.tar.gz | ||
RUN set -ex; \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters