cptactionhank / docker-atlassian-jira-software

Atlassian JIRA Software wrapped in a Docker image
https://cptactionhank.github.io/docker-atlassian-jira-software
MIT License
267 stars 165 forks source link

Update the removing of old JDBC driver #55

Open DeadlockState opened 5 years ago

DeadlockState commented 5 years ago

Hello,

Can you modify this line https://github.com/cptactionhank/docker-atlassian-jira-software/blob/master/Dockerfile#L19 ? It's "${JIRA_INSTALL}/lib/postgresql-9.4.1212.jar" and not "${JIRA_INSTALL}/lib/postgresql-9.1-903.jdbc4-atlassian-hosted.jar"

Same thing for Jira Core https://github.com/cptactionhank/docker-atlassian-jira/blob/master/Dockerfile#L19

Thanks

Best regards

viceice commented 5 years ago

See #54

geberl commented 5 years ago

Somewhat related: The current version of the MySQL Connector/J is mysql-connector-java-8.0.15.tar.gz (2019-02-01). This image uses mysql-connector-java-5.1.38.tar.gz (2015-12-02), which is not even the latest version of the v5.1 branch.

Atlassian's Jira Knowledge base at https://confluence.atlassian.com/jirakb/startup-check-jira-database-driver-missing-873872169.html links to the MySql Connector/J download page to "Download the latest driver". So I guess the v8 branch should be supported.

EDIT: I found multiple sources in Atlassian's docs referring to the 5.1 branch explicitly in the meantime (e.g. https://confluence.atlassian.com/adminjiraserver/supported-platforms-938846830.html). Can attest that mysql-connector-java-5.1.46 (2018-02-26) works fine though.