From d0b71d567e00f3e463573fbf95b4476fc166d23e Mon Sep 17 00:00:00 2001 From: stam Date: Wed, 19 May 2021 03:25:48 +0300 Subject: [PATCH] jira8 jdk11 new templates --- .../data/jira/templates/8/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../data/jira/templates/8/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.10.0/Dockerfile.jdk11 | 8 +-- .../jira/8/8.10.0/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.10.1/Dockerfile.jdk11 | 8 +-- .../jira/8/8.10.1/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.11.0/Dockerfile.jdk11 | 8 +-- .../jira/8/8.11.0/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.11.1/Dockerfile.jdk11 | 8 +-- .../jira/8/8.11.1/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.12.0/Dockerfile.jdk11 | 8 +-- .../jira/8/8.12.0/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.12.1/Dockerfile.jdk11 | 8 +-- .../jira/8/8.12.1/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.12.2/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.12.2/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.12.3/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.12.3/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.13.0/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.13.0/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.13.1/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.13.1/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.13.2/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.13.2/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.13.3/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.13.3/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.13.4/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.13.4/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.13.5/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.13.5/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.13.6/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.13.6/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.13.7/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.13.7/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.14.0/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.14.0/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.14.1/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.14.1/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.15.0/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.15.0/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.15.1/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.15.1/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.16.0/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.16.0/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.16.1/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.16.1/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.17.0/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.17.0/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.2.0/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.2.0/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.2.1/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.2.1/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.2.2/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.2.2/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.2.3/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.2.3/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.2.4/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.2.4/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.2.5/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.2.5/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.2.6/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.2.6/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.3.0/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.3.0/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.3.1/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.3.1/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.3.2/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.3.2/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.3.3/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.3.3/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.3.4/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.3.4/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.3.5/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.3.5/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.4.0/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.4.0/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.4.1/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.4.1/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.4.2/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.4.2/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.4.3/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.4.3/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.5.0/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.5.0/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.5.1/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.5.1/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.5.10/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.5.10/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.5.11/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.5.11/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.5.12/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.5.12/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.5.13/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.5.13/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.5.14/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.5.14/docker-compose.yml | 8 +++ .../atlassian/jira/8/8.5.15/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../jira/8/8.5.15/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.5.2/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.5.2/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.5.3/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.5.3/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.5.4/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../atlassian/jira/8/8.5.4/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.5.5/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../atlassian/jira/8/8.5.5/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.5.6/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../atlassian/jira/8/8.5.6/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.5.7/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../atlassian/jira/8/8.5.7/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.5.8/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../atlassian/jira/8/8.5.8/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.5.9/Dockerfile.jdk11 | 49 +++++++++++++++++++ .../atlassian/jira/8/8.5.9/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.6.0/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.6.0/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.6.1/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.6.1/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.7.0/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.7.0/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.7.1/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.7.1/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.8.0/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.8.0/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.8.1/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.8.1/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.9.0/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.9.0/docker-compose.yml | 8 +++ linux/atlassian/jira/8/8.9.1/Dockerfile.jdk11 | 8 +-- .../atlassian/jira/8/8.9.1/docker-compose.yml | 8 +++ 130 files changed, 2165 insertions(+), 105 deletions(-) create mode 100644 bin/dotnet/data/jira/templates/8/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.12.2/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.12.3/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.13.0/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.13.1/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.13.2/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.13.3/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.13.4/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.13.5/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.13.6/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.13.7/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.14.0/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.14.1/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.15.0/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.15.1/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.16.0/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.16.1/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.17.0/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.5.10/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.5.11/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.5.12/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.5.13/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.5.14/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.5.15/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.5.4/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.5.5/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.5.6/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.5.7/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.5.8/Dockerfile.jdk11 create mode 100644 linux/atlassian/jira/8/8.5.9/Dockerfile.jdk11 diff --git a/bin/dotnet/data/jira/templates/8/Dockerfile.jdk11 b/bin/dotnet/data/jira/templates/8/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/bin/dotnet/data/jira/templates/8/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/bin/dotnet/data/jira/templates/8/docker-compose.yml b/bin/dotnet/data/jira/templates/8/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/bin/dotnet/data/jira/templates/8/docker-compose.yml +++ b/bin/dotnet/data/jira/templates/8/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.10.0/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.10.0/Dockerfile.jdk11 index 749e69989..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.10.0/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.10.0/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.10.0 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.10.0/docker-compose.yml b/linux/atlassian/jira/8/8.10.0/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.10.0/docker-compose.yml +++ b/linux/atlassian/jira/8/8.10.0/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.10.1/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.10.1/Dockerfile.jdk11 index e1a049974..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.10.1/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.10.1/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.10.1 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.10.1/docker-compose.yml b/linux/atlassian/jira/8/8.10.1/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.10.1/docker-compose.yml +++ b/linux/atlassian/jira/8/8.10.1/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.11.0/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.11.0/Dockerfile.jdk11 index 9687567d2..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.11.0/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.11.0/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.11.0 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.11.0/docker-compose.yml b/linux/atlassian/jira/8/8.11.0/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.11.0/docker-compose.yml +++ b/linux/atlassian/jira/8/8.11.0/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.11.1/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.11.1/Dockerfile.jdk11 index 1c3aa37b9..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.11.1/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.11.1/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.11.1 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.11.1/docker-compose.yml b/linux/atlassian/jira/8/8.11.1/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.11.1/docker-compose.yml +++ b/linux/atlassian/jira/8/8.11.1/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.12.0/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.12.0/Dockerfile.jdk11 index caea525f8..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.12.0/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.12.0/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.12.0 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.12.0/docker-compose.yml b/linux/atlassian/jira/8/8.12.0/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.12.0/docker-compose.yml +++ b/linux/atlassian/jira/8/8.12.0/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.12.1/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.12.1/Dockerfile.jdk11 index 328e36818..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.12.1/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.12.1/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.12.1 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.12.1/docker-compose.yml b/linux/atlassian/jira/8/8.12.1/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.12.1/docker-compose.yml +++ b/linux/atlassian/jira/8/8.12.1/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.12.2/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.12.2/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.12.2/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.12.2/docker-compose.yml b/linux/atlassian/jira/8/8.12.2/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.12.2/docker-compose.yml +++ b/linux/atlassian/jira/8/8.12.2/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.12.3/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.12.3/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.12.3/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.12.3/docker-compose.yml b/linux/atlassian/jira/8/8.12.3/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.12.3/docker-compose.yml +++ b/linux/atlassian/jira/8/8.12.3/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.13.0/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.13.0/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.13.0/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.13.0/docker-compose.yml b/linux/atlassian/jira/8/8.13.0/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.13.0/docker-compose.yml +++ b/linux/atlassian/jira/8/8.13.0/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.13.1/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.13.1/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.13.1/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.13.1/docker-compose.yml b/linux/atlassian/jira/8/8.13.1/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.13.1/docker-compose.yml +++ b/linux/atlassian/jira/8/8.13.1/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.13.2/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.13.2/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.13.2/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.13.2/docker-compose.yml b/linux/atlassian/jira/8/8.13.2/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.13.2/docker-compose.yml +++ b/linux/atlassian/jira/8/8.13.2/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.13.3/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.13.3/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.13.3/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.13.3/docker-compose.yml b/linux/atlassian/jira/8/8.13.3/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.13.3/docker-compose.yml +++ b/linux/atlassian/jira/8/8.13.3/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.13.4/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.13.4/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.13.4/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.13.4/docker-compose.yml b/linux/atlassian/jira/8/8.13.4/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.13.4/docker-compose.yml +++ b/linux/atlassian/jira/8/8.13.4/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.13.5/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.13.5/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.13.5/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.13.5/docker-compose.yml b/linux/atlassian/jira/8/8.13.5/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.13.5/docker-compose.yml +++ b/linux/atlassian/jira/8/8.13.5/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.13.6/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.13.6/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.13.6/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.13.6/docker-compose.yml b/linux/atlassian/jira/8/8.13.6/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.13.6/docker-compose.yml +++ b/linux/atlassian/jira/8/8.13.6/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.13.7/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.13.7/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.13.7/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.13.7/docker-compose.yml b/linux/atlassian/jira/8/8.13.7/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.13.7/docker-compose.yml +++ b/linux/atlassian/jira/8/8.13.7/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.14.0/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.14.0/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.14.0/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.14.0/docker-compose.yml b/linux/atlassian/jira/8/8.14.0/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.14.0/docker-compose.yml +++ b/linux/atlassian/jira/8/8.14.0/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.14.1/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.14.1/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.14.1/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.14.1/docker-compose.yml b/linux/atlassian/jira/8/8.14.1/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.14.1/docker-compose.yml +++ b/linux/atlassian/jira/8/8.14.1/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.15.0/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.15.0/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.15.0/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.15.0/docker-compose.yml b/linux/atlassian/jira/8/8.15.0/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.15.0/docker-compose.yml +++ b/linux/atlassian/jira/8/8.15.0/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.15.1/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.15.1/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.15.1/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.15.1/docker-compose.yml b/linux/atlassian/jira/8/8.15.1/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.15.1/docker-compose.yml +++ b/linux/atlassian/jira/8/8.15.1/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.16.0/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.16.0/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.16.0/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.16.0/docker-compose.yml b/linux/atlassian/jira/8/8.16.0/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.16.0/docker-compose.yml +++ b/linux/atlassian/jira/8/8.16.0/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.16.1/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.16.1/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.16.1/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.16.1/docker-compose.yml b/linux/atlassian/jira/8/8.16.1/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.16.1/docker-compose.yml +++ b/linux/atlassian/jira/8/8.16.1/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.17.0/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.17.0/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.17.0/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.17.0/docker-compose.yml b/linux/atlassian/jira/8/8.17.0/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.17.0/docker-compose.yml +++ b/linux/atlassian/jira/8/8.17.0/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.2.0/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.2.0/Dockerfile.jdk11 index 6bab33843..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.2.0/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.2.0/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.2.0 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.2.0/docker-compose.yml b/linux/atlassian/jira/8/8.2.0/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.2.0/docker-compose.yml +++ b/linux/atlassian/jira/8/8.2.0/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.2.1/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.2.1/Dockerfile.jdk11 index f1dc5bd51..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.2.1/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.2.1/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.2.1 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.2.1/docker-compose.yml b/linux/atlassian/jira/8/8.2.1/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.2.1/docker-compose.yml +++ b/linux/atlassian/jira/8/8.2.1/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.2.2/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.2.2/Dockerfile.jdk11 index eb09f592e..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.2.2/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.2.2/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.2.2 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.2.2/docker-compose.yml b/linux/atlassian/jira/8/8.2.2/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.2.2/docker-compose.yml +++ b/linux/atlassian/jira/8/8.2.2/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.2.3/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.2.3/Dockerfile.jdk11 index 5d85db334..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.2.3/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.2.3/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.2.3 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.2.3/docker-compose.yml b/linux/atlassian/jira/8/8.2.3/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.2.3/docker-compose.yml +++ b/linux/atlassian/jira/8/8.2.3/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.2.4/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.2.4/Dockerfile.jdk11 index fe86295f7..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.2.4/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.2.4/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.2.4 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.2.4/docker-compose.yml b/linux/atlassian/jira/8/8.2.4/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.2.4/docker-compose.yml +++ b/linux/atlassian/jira/8/8.2.4/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.2.5/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.2.5/Dockerfile.jdk11 index d6498ec49..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.2.5/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.2.5/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.2.5 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.2.5/docker-compose.yml b/linux/atlassian/jira/8/8.2.5/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.2.5/docker-compose.yml +++ b/linux/atlassian/jira/8/8.2.5/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.2.6/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.2.6/Dockerfile.jdk11 index 74207d383..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.2.6/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.2.6/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.2.6 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.2.6/docker-compose.yml b/linux/atlassian/jira/8/8.2.6/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.2.6/docker-compose.yml +++ b/linux/atlassian/jira/8/8.2.6/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.3.0/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.3.0/Dockerfile.jdk11 index 510cccac8..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.3.0/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.3.0/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.3.0 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.3.0/docker-compose.yml b/linux/atlassian/jira/8/8.3.0/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.3.0/docker-compose.yml +++ b/linux/atlassian/jira/8/8.3.0/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.3.1/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.3.1/Dockerfile.jdk11 index ba2aaf577..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.3.1/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.3.1/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.3.1 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.3.1/docker-compose.yml b/linux/atlassian/jira/8/8.3.1/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.3.1/docker-compose.yml +++ b/linux/atlassian/jira/8/8.3.1/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.3.2/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.3.2/Dockerfile.jdk11 index 23d3e6fd8..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.3.2/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.3.2/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.3.2 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.3.2/docker-compose.yml b/linux/atlassian/jira/8/8.3.2/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.3.2/docker-compose.yml +++ b/linux/atlassian/jira/8/8.3.2/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.3.3/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.3.3/Dockerfile.jdk11 index 2ad7f24b0..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.3.3/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.3.3/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.3.3 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.3.3/docker-compose.yml b/linux/atlassian/jira/8/8.3.3/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.3.3/docker-compose.yml +++ b/linux/atlassian/jira/8/8.3.3/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.3.4/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.3.4/Dockerfile.jdk11 index cb9199c1e..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.3.4/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.3.4/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.3.4 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.3.4/docker-compose.yml b/linux/atlassian/jira/8/8.3.4/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.3.4/docker-compose.yml +++ b/linux/atlassian/jira/8/8.3.4/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.3.5/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.3.5/Dockerfile.jdk11 index 40f571e6f..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.3.5/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.3.5/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.3.5 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.3.5/docker-compose.yml b/linux/atlassian/jira/8/8.3.5/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.3.5/docker-compose.yml +++ b/linux/atlassian/jira/8/8.3.5/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.4.0/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.4.0/Dockerfile.jdk11 index 575fdcbd3..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.4.0/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.4.0/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.4.0 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.4.0/docker-compose.yml b/linux/atlassian/jira/8/8.4.0/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.4.0/docker-compose.yml +++ b/linux/atlassian/jira/8/8.4.0/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.4.1/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.4.1/Dockerfile.jdk11 index a0be846db..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.4.1/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.4.1/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.4.1 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.4.1/docker-compose.yml b/linux/atlassian/jira/8/8.4.1/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.4.1/docker-compose.yml +++ b/linux/atlassian/jira/8/8.4.1/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.4.2/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.4.2/Dockerfile.jdk11 index b39613392..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.4.2/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.4.2/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.4.2 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.4.2/docker-compose.yml b/linux/atlassian/jira/8/8.4.2/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.4.2/docker-compose.yml +++ b/linux/atlassian/jira/8/8.4.2/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.4.3/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.4.3/Dockerfile.jdk11 index d76d43725..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.4.3/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.4.3/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.4.3 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.4.3/docker-compose.yml b/linux/atlassian/jira/8/8.4.3/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.4.3/docker-compose.yml +++ b/linux/atlassian/jira/8/8.4.3/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.5.0/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.5.0/Dockerfile.jdk11 index f43659f70..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.5.0/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.5.0/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.5.0 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.5.0/docker-compose.yml b/linux/atlassian/jira/8/8.5.0/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.5.0/docker-compose.yml +++ b/linux/atlassian/jira/8/8.5.0/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.5.1/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.5.1/Dockerfile.jdk11 index c03ba4349..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.5.1/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.5.1/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.5.1 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.5.1/docker-compose.yml b/linux/atlassian/jira/8/8.5.1/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.5.1/docker-compose.yml +++ b/linux/atlassian/jira/8/8.5.1/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.5.10/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.5.10/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.5.10/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.5.10/docker-compose.yml b/linux/atlassian/jira/8/8.5.10/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.5.10/docker-compose.yml +++ b/linux/atlassian/jira/8/8.5.10/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.5.11/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.5.11/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.5.11/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.5.11/docker-compose.yml b/linux/atlassian/jira/8/8.5.11/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.5.11/docker-compose.yml +++ b/linux/atlassian/jira/8/8.5.11/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.5.12/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.5.12/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.5.12/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.5.12/docker-compose.yml b/linux/atlassian/jira/8/8.5.12/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.5.12/docker-compose.yml +++ b/linux/atlassian/jira/8/8.5.12/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.5.13/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.5.13/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.5.13/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.5.13/docker-compose.yml b/linux/atlassian/jira/8/8.5.13/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.5.13/docker-compose.yml +++ b/linux/atlassian/jira/8/8.5.13/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.5.14/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.5.14/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.5.14/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.5.14/docker-compose.yml b/linux/atlassian/jira/8/8.5.14/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.5.14/docker-compose.yml +++ b/linux/atlassian/jira/8/8.5.14/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.5.15/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.5.15/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.5.15/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.5.15/docker-compose.yml b/linux/atlassian/jira/8/8.5.15/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.5.15/docker-compose.yml +++ b/linux/atlassian/jira/8/8.5.15/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.5.2/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.5.2/Dockerfile.jdk11 index b58a1df0f..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.5.2/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.5.2/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.5.2 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.5.2/docker-compose.yml b/linux/atlassian/jira/8/8.5.2/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.5.2/docker-compose.yml +++ b/linux/atlassian/jira/8/8.5.2/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.5.3/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.5.3/Dockerfile.jdk11 index 30bc99420..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.5.3/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.5.3/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.5.3 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.5.3/docker-compose.yml b/linux/atlassian/jira/8/8.5.3/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.5.3/docker-compose.yml +++ b/linux/atlassian/jira/8/8.5.3/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.5.4/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.5.4/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.5.4/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.5.4/docker-compose.yml b/linux/atlassian/jira/8/8.5.4/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.5.4/docker-compose.yml +++ b/linux/atlassian/jira/8/8.5.4/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.5.5/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.5.5/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.5.5/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.5.5/docker-compose.yml b/linux/atlassian/jira/8/8.5.5/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.5.5/docker-compose.yml +++ b/linux/atlassian/jira/8/8.5.5/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.5.6/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.5.6/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.5.6/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.5.6/docker-compose.yml b/linux/atlassian/jira/8/8.5.6/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.5.6/docker-compose.yml +++ b/linux/atlassian/jira/8/8.5.6/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.5.7/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.5.7/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.5.7/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.5.7/docker-compose.yml b/linux/atlassian/jira/8/8.5.7/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.5.7/docker-compose.yml +++ b/linux/atlassian/jira/8/8.5.7/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.5.8/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.5.8/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.5.8/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.5.8/docker-compose.yml b/linux/atlassian/jira/8/8.5.8/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.5.8/docker-compose.yml +++ b/linux/atlassian/jira/8/8.5.8/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.5.9/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.5.9/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/atlassian/jira/8/8.5.9/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod: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 + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/atlassian/jira/8/8.5.9/docker-compose.yml b/linux/atlassian/jira/8/8.5.9/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.5.9/docker-compose.yml +++ b/linux/atlassian/jira/8/8.5.9/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.6.0/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.6.0/Dockerfile.jdk11 index be0f685fb..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.6.0/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.6.0/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.6.0 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.6.0/docker-compose.yml b/linux/atlassian/jira/8/8.6.0/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.6.0/docker-compose.yml +++ b/linux/atlassian/jira/8/8.6.0/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.6.1/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.6.1/Dockerfile.jdk11 index 6902e4045..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.6.1/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.6.1/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.6.1 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.6.1/docker-compose.yml b/linux/atlassian/jira/8/8.6.1/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.6.1/docker-compose.yml +++ b/linux/atlassian/jira/8/8.6.1/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.7.0/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.7.0/Dockerfile.jdk11 index 0c61c2e3c..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.7.0/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.7.0/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.7.0 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.7.0/docker-compose.yml b/linux/atlassian/jira/8/8.7.0/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.7.0/docker-compose.yml +++ b/linux/atlassian/jira/8/8.7.0/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.7.1/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.7.1/Dockerfile.jdk11 index 899c05e47..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.7.1/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.7.1/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.7.1 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.7.1/docker-compose.yml b/linux/atlassian/jira/8/8.7.1/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.7.1/docker-compose.yml +++ b/linux/atlassian/jira/8/8.7.1/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.8.0/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.8.0/Dockerfile.jdk11 index f444bdf75..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.8.0/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.8.0/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.8.0 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.8.0/docker-compose.yml b/linux/atlassian/jira/8/8.8.0/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.8.0/docker-compose.yml +++ b/linux/atlassian/jira/8/8.8.0/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.8.1/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.8.1/Dockerfile.jdk11 index 98f39d3ea..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.8.1/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.8.1/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.8.1 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.8.1/docker-compose.yml b/linux/atlassian/jira/8/8.8.1/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.8.1/docker-compose.yml +++ b/linux/atlassian/jira/8/8.8.1/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.9.0/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.9.0/Dockerfile.jdk11 index 1101a0ab7..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.9.0/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.9.0/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.9.0 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.9.0/docker-compose.yml b/linux/atlassian/jira/8/8.9.0/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.9.0/docker-compose.yml +++ b/linux/atlassian/jira/8/8.9.0/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file diff --git a/linux/atlassian/jira/8/8.9.1/Dockerfile.jdk11 b/linux/atlassian/jira/8/8.9.1/Dockerfile.jdk11 index c1c5d4a35..a98a20e49 100644 --- a/linux/atlassian/jira/8/8.9.1/Dockerfile.jdk11 +++ b/linux/atlassian/jira/8/8.9.1/Dockerfile.jdk11 @@ -5,8 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG JIRA_VERSION=8.9.1 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + ################################################################## # Setup @@ -34,7 +37,6 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && 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 && \ diff --git a/linux/atlassian/jira/8/8.9.1/docker-compose.yml b/linux/atlassian/jira/8/8.9.1/docker-compose.yml index 4269f77ac..0f7a373af 100644 --- a/linux/atlassian/jira/8/8.9.1/docker-compose.yml +++ b/linux/atlassian/jira/8/8.9.1/docker-compose.yml @@ -4,6 +4,14 @@ services: 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} \ No newline at end of file