From e3ac67185fdc736b6b5b2ce4360a376c99c97bec Mon Sep 17 00:00:00 2001 From: Golam Rabbi Date: Thu, 7 Feb 2019 16:05:33 +0200 Subject: [PATCH] Remove old version of postgres JDBC driver postgresql-9.1-903.jdbc4-atlassian-hosted.jar is not coming with Jira-Software 7.13.1. Another old version of jdbc driver (postgresql-9.4.1212.jar) prevents the latest jdbc driver (postgresql-42.2.1.jar) from functioning. Which results in unwanted errors. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9d790d5..e8f0c46 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN set -x \ && mkdir -p "${JIRA_INSTALL}/conf/Catalina" \ && curl -Ls "https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-7.13.1.tar.gz" | tar -xz --directory "${JIRA_INSTALL}" --strip-components=1 --no-same-owner \ && curl -Ls "https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.38.tar.gz" | tar -xz --directory "${JIRA_INSTALL}/lib" --strip-components=1 --no-same-owner "mysql-connector-java-5.1.38/mysql-connector-java-5.1.38-bin.jar" \ - && rm -f "${JIRA_INSTALL}/lib/postgresql-9.1-903.jdbc4-atlassian-hosted.jar" \ + && rm -f "${JIRA_INSTALL}/lib/postgresql-9.4.1212.jar" \ && curl -Ls "https://jdbc.postgresql.org/download/postgresql-42.2.1.jar" -o "${JIRA_INSTALL}/lib/postgresql-42.2.1.jar" \ && chmod -R 700 "${JIRA_INSTALL}/conf" \ && chmod -R 700 "${JIRA_INSTALL}/logs" \