Created
January 22, 2016 11:36
-
-
Save antonarhipov/44aa9b4bdd416f6e5754 to your computer and use it in GitHub Desktop.
Dokerfile for Atlassian Jira
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from isuper/java-oracle:jdk_8 | |
ENV JRE_HOME=/usr/lib/jvm/java-8-oracle | |
run curl -Lks https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-7.0.5-jira-7.0.5.tar.gz -o /root/jira.tar.gz | |
run /usr/sbin/useradd --create-home --home-dir /usr/local/jira --shell /bin/bash jira | |
run mkdir -p /opt/jira | |
run tar zxf /root/jira.tar.gz --strip=1 -C /opt/jira | |
run mkdir -p /opt/jira-home | |
run echo "jira.home = /opt/jira-home" > /opt/jira/atlassian-jira/WEB-INF/classes/jira-application.properties | |
workdir /opt/jira-home | |
run rm -f /opt/jira-home/.jira-home.lock | |
expose 8080 | |
cmd ["/opt/jira/bin/start-jira.sh", "-fg"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment