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 1/2] 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 - From 27f3373dd4b97265aee1740c2bda060ae6b35176 Mon Sep 17 00:00:00 2001 From: girimathi <81197641+girimathi@users.noreply.github.com> Date: Fri, 26 Mar 2021 11:13:24 -0700 Subject: [PATCH 2/2] SNOWFLAKE_SHA1 to snowflake-jdbc-3.13.1.jar.sha1 Updated the SNOWFLAKE_SHA1 to snowflake-jdbc-3.13.1.jar.sha1, reference https://repo1.maven.org/maven2/net/snowflake/snowflake-jdbc/3.13.1/snowflake-jdbc-3.13.1.jar.sha1 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8b727c9c..59ae9d69 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,7 +63,7 @@ RUN wget --no-verbose -O wget -O /liquibase/lib/db2.jar https://repo1.maven.org/ && gpg --auto-key-locate keyserver --keyserver ha.pool.sks-keyservers.net --keyserver-options auto-key-retrieve --verify /liquibase/lib/db2.jar.asc /liquibase/lib/db2.jar \ && echo "$DB2_SHA1 /liquibase/lib/db2.jar" | sha1sum -c - -ARG SNOWFLAKE_SHA1=ea2280f496bbd8e31c628edca2cfff6ee0aa4c24 +ARG SNOWFLAKE_SHA1=33d436d13eacdd34d78d5089fae29e31a3e3abb5 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 \