Skip to content

Commit

Permalink
Fix downloading and unpacking of jira-core binary
Browse files Browse the repository at this point in the history
* Remove download for postgresql driver jira-core brings already its own 
driver
  • Loading branch information
RagedUnicorn committed Aug 6, 2018
1 parent e8e9d28 commit 1ebf9b7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ RUN \
echo >&2 "Error: Failed to download Jira binary"; \
exit 1; \
fi && \
tar zxf atlassian-jira-software-"${JIRA_CORE_VERSION}".tar.gz --directory "${JIRA_INSTALL}" --strip-components=1 --no-same-owner && \
if ! wget -q "https://jdbc.postgresql.org/download/postgresql-9.4.1212.jar" -P "${JIRA_INSTALL}/lib/"; then \
echo >&2 "Error: Failed to download Postgresql driver"; \
exit 1; \
fi && \
tar zxf atlassian-jira-core-"${JIRA_CORE_VERSION}".tar.gz --directory "${JIRA_INSTALL}" --strip-components=1 --no-same-owner && \
chmod -R 700 "${JIRA_INSTALL}/logs" && \
chmod -R 700 "${JIRA_INSTALL}/temp" && \
chmod -R 700 "${JIRA_INSTALL}/work" && \
Expand Down

0 comments on commit 1ebf9b7

Please sign in to comment.