From c1b275effb6839919450d833a7e25c60c305f940 Mon Sep 17 00:00:00 2001 From: girimathi <81197641+girimathi@users.noreply.github.com> Date: Mon, 22 Mar 2021 17:26:12 -0700 Subject: [PATCH] Updating the snowflake-jdbc driver to 3.13.1 The older version of the snowflake-jdbc-3.12.3 driver version introduced the Illegal reflective access mentioned in this issue# https://github.com/snowflakedb/snowflake-jdbc/issues/202. The updated snowflake-jdbc-3.13.1.jar version fixing the issue as tested in our environment. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e4cdc444..8b727c9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,8 +64,8 @@ RUN wget --no-verbose -O wget -O /liquibase/lib/db2.jar https://repo1.maven.org/ && echo "$DB2_SHA1 /liquibase/lib/db2.jar" | sha1sum -c - ARG SNOWFLAKE_SHA1=ea2280f496bbd8e31c628edca2cfff6ee0aa4c24 -RUN wget --no-verbose -O /liquibase/lib/snowflake.jar https://repo1.maven.org/maven2/net/snowflake/snowflake-jdbc/3.12.3/snowflake-jdbc-3.12.3.jar \ - && wget --no-verbose -O wget -O /liquibase/lib/snowflake.jar.asc https://repo1.maven.org/maven2/net/snowflake/snowflake-jdbc/3.12.3/snowflake-jdbc-3.12.3.jar.asc \ +RUN wget --no-verbose -O /liquibase/lib/snowflake.jar https://repo1.maven.org/maven2/net/snowflake/snowflake-jdbc/3.13.1/snowflake-jdbc-3.13.1.jar \ + && wget --no-verbose -O wget -O /liquibase/lib/snowflake.jar.asc https://repo1.maven.org/maven2/net/snowflake/snowflake-jdbc/3.13.1/snowflake-jdbc-3.13.1.jar.asc \ && gpg --auto-key-locate keyserver --keyserver ha.pool.sks-keyservers.net --keyserver-options auto-key-retrieve --verify /liquibase/lib/snowflake.jar.asc /liquibase/lib/snowflake.jar \ && echo "$SNOWFLAKE_SHA1 /liquibase/lib/snowflake.jar" | sha1sum -c -