mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-06-06 02:52:05 +03:00
Jira migrated
This commit is contained in:
parent
4f7bba277c
commit
24bed56fdc
jira
7.10.1
7.10.2
7.11.0
7.11.1
7.11.2
7.12.0
7.12.1
7.12.2
7.12.3
7.13.0
7.13.1
7.13.2
8.0.0
8.0.1
8.0.2
8.1.0
8.1.1
8.2.0
8.2.1
8.2.2
8.2.3
8.2.4
8.3.0
8.3.1
8.3.2
8.3.3
8.3.4
8.4.0
8.4.1
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG JIRA_VERSION=7.10.1
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=7.10.1
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG JIRA_VERSION=7.10.2
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=7.10.2
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG JIRA_VERSION=7.11.0
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=7.11.0
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG JIRA_VERSION=7.11.1
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=7.11.1
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG JIRA_VERSION=7.11.2
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=7.11.2
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG JIRA_VERSION=7.12.0
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=7.12.0
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG JIRA_VERSION=7.12.1
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=7.12.1
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG JIRA_VERSION=7.12.2
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=7.12.2
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG JIRA_VERSION=7.12.3
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=7.12.3
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG JIRA_VERSION=7.13.0
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=7.13.0
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG JIRA_VERSION=7.13.1
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=7.13.1
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG JIRA_VERSION=7.13.2
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=7.13.2
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG JIRA_VERSION=8.0.0
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=8.0.0
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG JIRA_VERSION=8.0.1
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=8.0.1
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG JIRA_VERSION=8.0.2
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=8.0.2
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG JIRA_VERSION=8.1.0
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=8.1.0
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG JIRA_VERSION=8.1.1
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=8.1.1
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
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
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=8.2.0
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
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
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=8.2.1
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
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
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=8.2.2
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
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
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=8.2.3
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
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
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=8.2.4
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
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
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=8.3.0
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
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
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated uuid-runtime gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=8.3.1
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
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
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated uuid-runtime gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=8.3.2
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
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
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated uuid-runtime gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=8.3.3
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
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
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated uuid-runtime gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=8.3.4
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
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
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated uuid-runtime gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=8.4.0
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Jira Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
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
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,54 +18,30 @@ ENV RUN_GROUP daemon
|
|||||||
ENV JIRA_HOME /var/atlassian/application-data/jira
|
ENV JIRA_HOME /var/atlassian/application-data/jira
|
||||||
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
ENV JIRA_INSTALL_DIR /opt/atlassian/jira
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
#editing sources list
|
|
||||||
RUN rm /etc/apt/sources.list
|
|
||||||
COPY sources.list /etc/apt/sources.list
|
|
||||||
COPY locale.gen /etc/locale.gen
|
|
||||||
|
|
||||||
#installing utils
|
|
||||||
# url: missing
|
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated uuid-runtime gnupg2 ca-certificates htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl bash procps openssl perl ttf-dejavu tini util-linux fontconfig
|
|
||||||
|
|
||||||
#installing java
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02
|
|
||||||
RUN echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list
|
|
||||||
RUN apt-get update && apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
|
|
||||||
|
|
||||||
VOLUME ["${JIRA_HOME}"]
|
VOLUME ["${JIRA_HOME}"]
|
||||||
WORKDIR $JIRA_HOME
|
WORKDIR $JIRA_HOME
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
##################################################################
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
# Installing
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
##################################################################
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
#After install fixes
|
|
||||||
RUN localedef en_US.UTF-8 -i en_US -f UTF-8
|
|
||||||
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
||||||
RUN apt update
|
|
||||||
RUN apt upgrade -y
|
|
||||||
RUN apt dist-upgrade -y
|
|
||||||
RUN apt-get clean autoclean
|
|
||||||
RUN apt-get autoremove -y
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ARG JIRA_VERSION=8.4.1
|
|
||||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${JIRA_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$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}/ \
|
&& 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_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/^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/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
|
&& 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user