mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-25 14:15:38 +03:00
Confluence miggrated
This commit is contained in:
parent
93d13263fc
commit
4f7bba277c
@ -1,6 +1,16 @@
|
|||||||
FROM debian:buster
|
FROM epicmorg/prod
|
||||||
MAINTAINER Atlassian Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.10.0
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.10.0
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.10.1
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.10.1
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.10.2
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.10.2
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.11.0
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.11.0
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.11.1
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.11.1
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.11.2
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.11.2
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.12.0
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.12.0
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.12.1
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.12.1
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.12.2
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.12.2
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.12.3
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.12.3
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.12.4
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.12.4
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.13.0
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.13.0
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.13.1
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.13.1
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.13.2
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.13.2
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.13.3
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.13.3
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.14.0
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.14.0
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.14.1
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.14.1
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.14.2
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.14.2
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.14.3
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.14.3
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.15.1
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.15.1
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.15.2
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.15.2
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.15.4
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.15.4
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.15.6
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.15.6
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.15.7
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.15.7
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.15.8
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.15.8
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.9.0
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.9.0
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.9.1
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.9.1
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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 Confluence Server Team
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG CONFLUENCE_VERSION=6.9.3
|
||||||
|
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
ENV RUN_USER daemon
|
ENV RUN_USER daemon
|
||||||
ENV RUN_GROUP daemon
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
@ -8,23 +18,6 @@ ENV RUN_GROUP daemon
|
|||||||
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
|
||||||
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
|
||||||
|
|
||||||
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
|
|
||||||
# https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html
|
|
||||||
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 ["${CONFLUENCE_HOME}"]
|
VOLUME ["${CONFLUENCE_HOME}"]
|
||||||
WORKDIR $CONFLUENCE_HOME
|
WORKDIR $CONFLUENCE_HOME
|
||||||
|
|
||||||
@ -32,28 +25,22 @@ WORKDIR $CONFLUENCE_HOME
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "-fg"]
|
##################################################################
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
# Installing
|
||||||
|
##################################################################
|
||||||
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 CONFLUENCE_VERSION=6.9.3
|
|
||||||
ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
|
||||||
|
|
||||||
COPY . /tmp
|
|
||||||
|
|
||||||
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} \
|
||||||
&& curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
&& curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$CONFLUENCE_INSTALL_DIR" \
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ \
|
||||||
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
&& sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh \
|
||||||
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml
|
&& sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_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…
Reference in New Issue
Block a user