From 9581a69d4e0866c2e285012c182fcc44f74698a5 Mon Sep 17 00:00:00 2001 From: Vincent Massol <vincent@massol.net> Date: Wed, 2 Feb 2022 16:14:55 +0100 Subject: [PATCH] [Misc] Upgrade to latest MySQL JDBC driver (8.0.28) --- template/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/template/Dockerfile b/template/Dockerfile index 1e03ba6..041b84d 100644 --- a/template/Dockerfile +++ b/template/Dockerfile @@ -63,12 +63,10 @@ RUN rm -rf /usr/local/tomcat/webapps/* && \\ <% if (db == 'mysql') { println "# For MYSQL, download the MySQL driver version from the Maven Central repository since there's no up to " println "# date Debian repository for it anymore." - // Note: We currently cannot uprgade to 8.0.23 since we need all XWiki supported branches to have upgraded to - // liquibase 4.3.2 before we can upgrade, see https://jira.xwiki.org/browse/XWIKI-18515 - println "ENV MYSQL_JDBC_VERSION=\"8.0.22\"" + println "ENV MYSQL_JDBC_VERSION=\"8.0.28\"" // Get the SHA256 from the JAR at https://search.maven.org/artifact/mysql/mysql-connector-java and using the // command line defined in build.gradle. - println "ENV MYSQL_JDBC_SHA256=\"5019defbd12316295e97a6e88f2a9b07f118345a4e982710bba232e499b22f4f\"" + println "ENV MYSQL_JDBC_SHA256=\"a00ccdf537ff50e50067b989108c2235197ffb65e197149bbb669db843cd1c3e\"" println "ENV MYSQL_JDBC_PREFIX=\"https://repo1.maven.org/maven2/mysql/mysql-connector-java/\${MYSQL_JDBC_VERSION}\"" println "ENV MYSQL_JDBC_ARTIFACT=\"mysql-connector-java-\${MYSQL_JDBC_VERSION}.jar\"" println "ENV MYSQL_JDBC_TARGET=\"/usr/local/tomcat/webapps/ROOT/WEB-INF/lib/\${MYSQL_JDBC_ARTIFACT}\"" -- GitLab