Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Run

docker run --name="<name>" --hostname="<hostname>" -p 2990:2990 -d pvkr84/atlassian-connect-jira7

Image size

2.55Gb

Wait Jira start up

#! /bin/sh
status=
while [ ! $status ];
do
echo "Jira is DOWN"
sleep 5
curl -s --head --request GET <hostname>:2990/jira/rest/api/2/project | grep "200 OK" > /dev/null && status=1
done
echo "Jira is UP"

Dockerfile

FROM pvkr84/jre8:latest
MAINTAINER Pavel Kryshtop
RUN sh -c 'echo "deb https://sdkrepo.atlassian.com/debian/ stable contrib" >>/etc/apt/sources.list' && \
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys B07804338C015B73 && \
apt-get install apt-transport-https && \
apt-get update && \
apt-get install -y atlassian-plugin-sdk=5.1.1
ADD ojdbc6.jar /ojdbc6.jar
RUN atlas-mvn install:install-file -Dfile=ojdbc6.jar -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.2.0 -Dpackaging=jar
RUN atlas-run-standalone --product jira --version 7.0.0-OD-02-259 --bundled-plugins com.atlassian.bundles:json-schema-validator-atlassian-bundle:1.0.4,com.atlassian.webhooks:atlassian-webhooks-plugin:2.0.0,com.atlassian.jwt:jwt-plugin:1.2.2,com.atlassian.upm:atlassian-universal-plugin-manager-plugin:2.19.1.2-D20150723T232127,com.atlassian.plugins:atlassian-connect-plugin:1.1.47 --jvmargs -Datlassian.upm.on.demand=true
RUN apt-get install -y supervisor
RUN mkdir -p /var/log/supervisor
RUN locale-gen en_US en_US.UTF-8
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
EXPOSE 2990
CMD ["/usr/bin/supervisord"]

supervisord.conf

[supervisord]
nodaemon=true

[program:jira]
command=bash -c "/usr/bin/atlas-run-standalone --product jira --version 7.0.0-OD-02-259 --bundled-plugins com.atlassian.bundles:json-schema-validator-atlassian-bundle:1.0.4,com.atlassian.webhooks:atlassian-webhooks-plugin:2.0.0,com.atlassian.jwt:jwt-plugin:1.2.2,com.atlassian.upm:atlassian-universal-plugin-manager-plugin:2.19.1.2-D20150723T232127,com.atlassian.plugins:atlassian-connect-plugin:1.1.47 --jvmargs -Datlassian.upm.on.demand=true"
numprocs=1
autostart=true
autorestart=true
user=root
stdout_logfile=/var/log/supervisor/%(program_name)s.log
stderr_logfile=/var/log/supervisor/%(program_name)s.log

Docker Pull Command
Owner
pvkr84