ansible jira9 templates

This commit is contained in:
STAM 2023-07-24 21:22:57 +03:00
commit 0c4fcf5fae
Signed by: stam
GPG Key ID: 4F57E51F9C45F8CD
155 changed files with 2307 additions and 501 deletions

View File

@ -6,6 +6,7 @@
* added `jdk17` support.
* added `freegpt` webui by [Em1tSan/freegpt-webui-ru](https://github.com/Em1tSan/freegpt-webui-ru).
* updated `atlassian` images
* added `jira` version `9` images
* updated `testrail` images
* added reworked `php5.5` iamge.
* added reworked `php7.0` + `apache2` images with `cassandra`, `ioncube` and `bolt` support.

View File

@ -18,5 +18,5 @@
connection: local
gather_facts: false
roles:
# - atlassian.jira
- gurock.testrail
- atlassian.jira
#- gurock.testrail

View File

@ -0,0 +1,25 @@
version: '3.9'
services:
app:
image: "epicmorg/jira:${RELEASE}"
build:
context: .
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}
app-jdk11:
image: "epicmorg/jira:${RELEASE}-jdk11"
build:
context: .
dockerfile: Dockerfile.jdk11
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}
app-jdk17:
image: "epicmorg/jira:${RELEASE}-jdk17"
build:
context: .
dockerfile: Dockerfile.jdk17
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}

View File

@ -0,0 +1,57 @@
- name: Read versions from file
slurp:
src: "roles/common/files/versions/jira/9.jdk8-11-17.txt"
register: version_output
- name: Set version variable
set_fact:
jira_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}"
- name: Create directories for Jira versions
file:
path: "{{ target_directory }}/{{ item }}"
state: directory
mode: '0755'
with_items: "{{ jira_versions }}"
- name: Copy template with link to each version directory
template:
src: "template.env.j2"
dest: "{{ target_directory }}/{{ item }}/.env"
with_items: "{{ jira_versions }}"
- name: Copy docker-compose.yml from 'files' directory to each version directory
copy:
src: "docker-compose.jdk8-11-17.yml"
dest: "{{ target_directory }}/{{ item }}/docker-compose.yml"
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile from 'files' directory to each version directory
copy:
src: "Dockerfile"
dest: "{{ target_directory }}/{{ item }}/Dockerfile"
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile.jdk11 from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk11"
dest: "{{ target_directory }}/{{ item }}/Dockerfile.jdk11"
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile.jdk17 from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk17"
dest: "{{ target_directory }}/{{ item }}/Dockerfile.jdk17"
with_items: "{{ jira_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.sh"
dest: "{{ target_directory }}/{{ item }}/entrypoint.sh"
with_items: "{{ jira_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory }}/{{ item }}/Makefile"
with_items: "{{ jira_versions }}"

View File

@ -0,0 +1,51 @@
- name: Read versions from file
slurp:
src: "roles/common/files/versions/jira/9.jdk8-11.txt"
register: version_output
- name: Set version variable
set_fact:
jira_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}"
- name: Create directories for Jira versions
file:
path: "{{ target_directory }}/{{ item }}"
state: directory
mode: '0755'
with_items: "{{ jira_versions }}"
- name: Copy template with link to each version directory
template:
src: "template.env.j2"
dest: "{{ target_directory }}/{{ item }}/.env"
with_items: "{{ jira_versions }}"
- name: Copy docker-compose.yml from 'files' directory to each version directory
copy:
src: "docker-compose.jdk8-11.yml"
dest: "{{ target_directory }}/{{ item }}/docker-compose.yml"
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile from 'files' directory to each version directory
copy:
src: "Dockerfile"
dest: "{{ target_directory }}/{{ item }}/Dockerfile"
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile.jdk11 from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk11"
dest: "{{ target_directory }}/{{ item }}/Dockerfile.jdk11"
with_items: "{{ jira_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.sh"
dest: "{{ target_directory }}/{{ item }}/entrypoint.sh"
with_items: "{{ jira_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory }}/{{ item }}/Makefile"
with_items: "{{ jira_versions }}"

View File

@ -1,30 +0,0 @@
- name: Read versions from file
slurp:
src: "{{ versions_file }}"
register: version_output
- name: Set version variable
set_fact:
jira_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}"
- name: Create directories for Jira versions
file:
path: "{{ target_directory }}/{{ item }}"
state: directory
mode: '0755'
with_items: "{{ jira_versions }}"
- name: Copy template with link to each version directory
template:
src: "template.env.j2"
dest: "{{ target_directory }}/{{ item }}/.env"
with_items: "{{ jira_versions }}"
- name: Copy all files from 'files' directory to each version directory
copy:
src: "files/"
dest: "{{ target_directory }}/{{ item }}/"
with_items: "{{ jira_versions }}"
# no_log: true

View File

@ -1,2 +1,5 @@
- name: "Generate images for Jira 9 (jdk8, jdk11, jdk17)"
import_tasks: atlassian.jira.9.yml
- name: "Generate images for Jira 9.0-9.5 (jdk8, jdk11)"
import_tasks: atlassian.jira.9.jdk8-11.yml
- name: "Generate images for Jira 9.5+ (jdk8, jdk11, jdk17)"
import_tasks: atlassian.jira.9.jdk8-11-17.yml

View File

@ -1,3 +1,2 @@
# Defaults
versions_file: "roles/common/files/versions/jira/9.txt"
target_directory: "/opt/tmp/jira/"

View File

@ -0,0 +1,10 @@
9.5.0
9.5.1
9.6.0
9.7.0
9.7.1
9.8.0
9.8.1
9.9.0
9.9.1
9.10.0

View File

@ -0,0 +1,18 @@
9.0.0
9.1.0
9.1.1
9.2.0
9.2.1
9.3.0
9.3.1
9.3.2
9.3.3
9.4.0
9.4.1
9.4.2
9.4.3
9.4.4
9.4.5
9.4.6
9.4.7
9.4.8

View File

@ -1,2 +0,0 @@
x.x.x.x
y.y.y.y

View File

@ -1,17 +1,17 @@
#- name: "Generate images for Testrail (PHP 5.5)"
# import_tasks: testrail.php55.yml
- name: "Generate images for Testrail (PHP 7.0)"
import_tasks: testrail.php70.yml
#- name: "Generate images for Testrail (PHP 7.0)"
# import_tasks: testrail.php70.yml
- name: "Generate images for Testrail (PHP 7.1)"
import_tasks: testrail.php71.yml
#- name: "Generate images for Testrail (PHP 7.1)"
# import_tasks: testrail.php71.yml
- name: "Generate images for Testrail (PHP 7.2)"
import_tasks: testrail.php72.yml
#- name: "Generate images for Testrail (PHP 7.2)"
# import_tasks: testrail.php72.yml
- name: "Generate images for Testrail (PHP 7.4)"
import_tasks: testrail.php74.yml
#- name: "Generate images for Testrail (PHP 7.4)"
# import_tasks: testrail.php74.yml
- name: "Generate images for Testrail (PHP 8.1)"
import_tasks: testrail.php81.yml

View File

@ -1,3 +1,2 @@
RELEASE=9.0.0
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-9.0.0.tar.gz
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -1,3 +1,2 @@
RELEASE=9.1.0
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-9.1.0.tar.gz
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -1,3 +1,2 @@
RELEASE=9.1.1
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-9.1.1.tar.gz
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -1,3 +1,2 @@
RELEASE=9.10.0
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -1,4 +1,4 @@
FROM epicmorg/debian:bullseye-jdk17
FROM epicmorg/debian:bullseye-jdk11
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -1,3 +1,2 @@
RELEASE=9.2.0
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-9.2.0.tar.gz
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -1,3 +1,2 @@
RELEASE=9.2.1
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-9.2.1.tar.gz
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -1,3 +1,2 @@
RELEASE=9.3.0
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-9.3.0.tar.gz
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -1,3 +1,2 @@
RELEASE=9.3.1
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-9.3.1.tar.gz
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -1,3 +1,2 @@
RELEASE=9.3.2
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-9.3.2.tar.gz
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -1,3 +1,2 @@
RELEASE=9.3.3
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-9.3.3.tar.gz
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -1,3 +1,2 @@
RELEASE=9.4.0
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-9.4.0.tar.gz
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -1,3 +1,2 @@
RELEASE=9.4.1
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-9.4.1.tar.gz
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -1,3 +1,2 @@
RELEASE=9.4.2
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-9.4.2.tar.gz
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -0,0 +1,2 @@
RELEASE=9.4.3
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -0,0 +1,2 @@
RELEASE=9.4.4
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -0,0 +1,17 @@
version: '3.9'
services:
app:
image: "epicmorg/jira:${RELEASE}"
build:
context: .
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}
app-jdk11:
image: "epicmorg/jira:${RELEASE}-jdk11"
build:
context: .
dockerfile: Dockerfile.jdk11
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}

View File

@ -0,0 +1,2 @@
RELEASE=9.4.5
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -0,0 +1,50 @@
FROM epicmorg/debian:bullseye-jdk11
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files
ENV JIRA_HOME /var/atlassian/application-data/jira
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
VOLUME ["${JIRA_HOME}"]
WORKDIR $JIRA_HOME
# Expose HTTP port
EXPOSE 8080
##################################################################
# Installing
##################################################################
RUN mkdir -p ${JIRA_INSTALL_DIR} \
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \
&& chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \
&& sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \
&& sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \
&& sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \
&& sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
#COPY . /tmp

View File

@ -0,0 +1,17 @@
version: '3.9'
services:
app:
image: "epicmorg/jira:${RELEASE}"
build:
context: .
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}
app-jdk11:
image: "epicmorg/jira:${RELEASE}-jdk11"
build:
context: .
dockerfile: Dockerfile.jdk11
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}

View File

@ -0,0 +1,2 @@
RELEASE=9.4.6
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -0,0 +1,51 @@
FROM epicmorg/debian:bullseye-jdk8
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files
ENV JIRA_HOME /var/atlassian/application-data/jira
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
VOLUME ["${JIRA_HOME}"]
WORKDIR $JIRA_HOME
# Expose HTTP port
EXPOSE 8080
##################################################################
# Installing
##################################################################
RUN mkdir -p ${JIRA_INSTALL_DIR} \
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \
&& chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \
&& sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \
&& sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \
&& sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \
&& sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
#COPY . /tmp

View File

@ -0,0 +1,50 @@
FROM epicmorg/debian:bullseye-jdk11
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files
ENV JIRA_HOME /var/atlassian/application-data/jira
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
VOLUME ["${JIRA_HOME}"]
WORKDIR $JIRA_HOME
# Expose HTTP port
EXPOSE 8080
##################################################################
# Installing
##################################################################
RUN mkdir -p ${JIRA_INSTALL_DIR} \
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \
&& chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \
&& sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \
&& sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \
&& sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \
&& sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
#COPY . /tmp

View File

@ -0,0 +1,17 @@
version: '3.9'
services:
app:
image: "epicmorg/jira:${RELEASE}"
build:
context: .
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}
app-jdk11:
image: "epicmorg/jira:${RELEASE}-jdk11"
build:
context: .
dockerfile: Dockerfile.jdk11
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}

View File

@ -0,0 +1,2 @@
RELEASE=9.4.7
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -0,0 +1,51 @@
FROM epicmorg/debian:bullseye-jdk8
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files
ENV JIRA_HOME /var/atlassian/application-data/jira
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
VOLUME ["${JIRA_HOME}"]
WORKDIR $JIRA_HOME
# Expose HTTP port
EXPOSE 8080
##################################################################
# Installing
##################################################################
RUN mkdir -p ${JIRA_INSTALL_DIR} \
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \
&& chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \
&& sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \
&& sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \
&& sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \
&& sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
#COPY . /tmp

View File

@ -0,0 +1,50 @@
FROM epicmorg/debian:bullseye-jdk11
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files
ENV JIRA_HOME /var/atlassian/application-data/jira
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
VOLUME ["${JIRA_HOME}"]
WORKDIR $JIRA_HOME
# Expose HTTP port
EXPOSE 8080
##################################################################
# Installing
##################################################################
RUN mkdir -p ${JIRA_INSTALL_DIR} \
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \
&& chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \
&& sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \
&& sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \
&& sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \
&& sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
#COPY . /tmp

View File

@ -0,0 +1,17 @@
version: '3.9'
services:
app:
image: "epicmorg/jira:${RELEASE}"
build:
context: .
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}
app-jdk11:
image: "epicmorg/jira:${RELEASE}-jdk11"
build:
context: .
dockerfile: Dockerfile.jdk11
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}

View File

@ -0,0 +1,2 @@
RELEASE=9.4.8
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -0,0 +1,51 @@
FROM epicmorg/debian:bullseye-jdk8
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files
ENV JIRA_HOME /var/atlassian/application-data/jira
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
VOLUME ["${JIRA_HOME}"]
WORKDIR $JIRA_HOME
# Expose HTTP port
EXPOSE 8080
##################################################################
# Installing
##################################################################
RUN mkdir -p ${JIRA_INSTALL_DIR} \
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \
&& chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \
&& sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \
&& sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \
&& sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \
&& sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
#COPY . /tmp

View File

@ -0,0 +1,50 @@
FROM epicmorg/debian:bullseye-jdk11
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files
ENV JIRA_HOME /var/atlassian/application-data/jira
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
VOLUME ["${JIRA_HOME}"]
WORKDIR $JIRA_HOME
# Expose HTTP port
EXPOSE 8080
##################################################################
# Installing
##################################################################
RUN mkdir -p ${JIRA_INSTALL_DIR} \
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \
&& chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \
&& sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \
&& sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \
&& sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \
&& sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
#COPY . /tmp

View File

@ -0,0 +1,17 @@
version: '3.9'
services:
app:
image: "epicmorg/jira:${RELEASE}"
build:
context: .
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}
app-jdk11:
image: "epicmorg/jira:${RELEASE}-jdk11"
build:
context: .
dockerfile: Dockerfile.jdk11
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}

View File

@ -1,3 +1,2 @@
RELEASE=9.5.0
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-9.5.0.tar.gz
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -1,4 +1,4 @@
FROM epicmorg/debian:bullseye-jdk17
FROM epicmorg/debian:bullseye-jdk11
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -1,3 +1,2 @@
RELEASE=9.5.1
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-9.5.1.tar.gz
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -1,4 +1,4 @@
FROM epicmorg/debian:bullseye-jdk17
FROM epicmorg/debian:bullseye-jdk11
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -1,3 +1,2 @@
RELEASE=9.6.0
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-9.6.0.tar.gz
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,10 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

View File

@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG RELEASE
ARG DOWNLOAD_URL
##################################################################
# Setup
##################################################################
@ -43,7 +42,9 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
COPY . /tmp
#COPY . /tmp

Some files were not shown because too many files have changed in this diff Show More