mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-06-30 14:49:29 +03:00
jira:7.0.9
This commit is contained in:
parent
e2ebc22a5f
commit
f5f5f38934
@ -2,6 +2,7 @@
|
|||||||
7.0.2
|
7.0.2
|
||||||
7.0.4
|
7.0.4
|
||||||
7.0.5
|
7.0.5
|
||||||
|
7.0.9
|
||||||
7.0.10
|
7.0.10
|
||||||
7.1.0
|
7.1.0
|
||||||
7.1.1
|
7.1.1
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
|
|
||||||
RELEASE=7.0.9
|
RELEASE=7.0.9
|
||||||
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-core-7.0.9.tar.gz
|
DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}-jira-${RELEASE}.tar.gz
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
FROM quay.io/epicmorg/debian:bullseye-jdk8
|
FROM quay.io/epicmorg/debian:bookworm-jdk8
|
||||||
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# ARGuments
|
# ARGuments
|
||||||
##################################################################
|
##################################################################
|
||||||
ARG RELEASE
|
ARG RELEASE=7.0.9
|
||||||
ARG DOWNLOAD_URL
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}-jira-${RELEASE}.tar.gz
|
||||||
|
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Setup
|
# Setup
|
||||||
@ -28,23 +27,30 @@ EXPOSE 8080
|
|||||||
##################################################################
|
##################################################################
|
||||||
# Installing
|
# Installing
|
||||||
##################################################################
|
##################################################################
|
||||||
RUN mkdir -p ${JIRA_INSTALL_DIR} \
|
ADD ${DOWNLOAD_URL} /tmp
|
||||||
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \
|
RUN mkdir -p ${JIRA_INSTALL_DIR} && \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \
|
tar -xzf /tmp/atlassian-jira-software-${RELEASE}-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \
|
||||||
&& sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \
|
chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \
|
||||||
&& sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/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/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \
|
sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.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 && \
|
|
||||||
|
##################################################################
|
||||||
|
# cleanup
|
||||||
|
##################################################################
|
||||||
|
RUN echo "clean up" && \
|
||||||
apt-get clean -y && \
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
apt-get autoclean -y && \
|
apt-get autoclean -y && \
|
||||||
rm -rfv /var/lib/apt/lists/* && \
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
rm -rfv /var/cache/apt/archives/*.deb
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
RUN updatedb
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
CMD ["/entrypoint.sh", "-fg"]
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||||
|
|
||||||
|
RUN updatedb
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "quay.io/epicmorg/jira:${RELEASE}"
|
image: "quay.io/epicmorg/jira:7.0.9"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
app-jdk8:
|
||||||
|
image: "quay.io/epicmorg/jira:7.0.9-jdk8"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
|
||||||
RELEASE: ${RELEASE}
|
|
||||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user