confluence 4 and 5

This commit is contained in:
STAM 2025-03-23 00:29:28 +03:00
parent ea458adaf3
commit a1524d34e1
No known key found for this signature in database
GPG Key ID: 711526C6938897F1
1302 changed files with 21644 additions and 708 deletions

111
Makefile
View File

@ -1936,7 +1936,6 @@ ecosystem-bitbucket-8-images:
cd `pwd`/linux/ecosystem/atlassian/bitbucket/8/8.19.15 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/8/8.19.16 && pwd && make build && make deploy
ecosystem-bitbucket-9-images:
cd `pwd`/linux/ecosystem/atlassian/bitbucket/9/9.0.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/9/9.0.1 && pwd && make build && make deploy
@ -1957,6 +1956,116 @@ ecosystem-bitbucket-9-images:
cd `pwd`/linux/ecosystem/atlassian/bitbucket/9/9.5.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/9/9.6.0 && pwd && make build && make deploy
ecosystem-confluence-4-images:
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.0.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.0.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.0.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.0.7 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.1.10 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.1.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.1.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.1.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.1.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.1.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.1.7 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.1.9 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.2.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.2.11 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.2.12 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.2.13 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.2.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.2.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.2.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.2.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.2.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.2.7 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.2.8 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.3.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.3.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.3.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.3.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.3.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/4/4.3.7 && pwd && make build && make deploy
ecosystem-confluence-5-images:
cd `pwd`/linux/ecosystem/atlassian/confluence/5.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.0.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.0.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.0.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.10.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.10.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.10.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.10.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.10.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.10.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.10.7 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.10.8 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.10.9 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.1.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.1.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.1.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.1.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.1.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.2.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.2.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.3.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.3.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.4.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.4.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.4.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.4.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.5.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.5.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.5.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.5.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.5-OD-31-009 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.6.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.6.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.6.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.6.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.6.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.7 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.7.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.7.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.7.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.7.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.7.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.8.10 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.8.13 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.8.14 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.8.15 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.8.16 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.8.17 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.8.18 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.8.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.8.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.8.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.8.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.8.8 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.8.9 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.9.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.9.10 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.9.11 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.9.12 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.9.14 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.9.1-beta11 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.9.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.9.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.9.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.9.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.9.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.9.7 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.9.8 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/confluence/5.9.9 && pwd && make build && make deploy
ecosystem-jira-4-images:
cd `pwd`/linux/ecosystem/atlassian/jira/4/4.1.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/4/4.1.2 && pwd && make build && make deploy

View File

@ -0,0 +1,38 @@
PIP_BREAK_SYSTEM_PACKAGES=1
all: app
app:
make build
make deploy
make clean
build:
buildah-wrapper --build
deploy:
buildah-wrapper --deploy
build-kaniko:
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
deploy-kaniko:
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
build-compose:
docker-compose build --compress --parallel --progress plain
deploy-compose:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
buildah rm -a
buildah rmi -a

View File

@ -0,0 +1,39 @@
#!/bin/bash
set -euo pipefail
export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
export JRE_HOME="$JAVA_HOME/jre"
export JAVA_BINARY="$JRE_HOME/bin/java"
export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}')
# Setup Catalina Opts
: ${CATALINA_CONNECTOR_PROXYNAME:=}
: ${CATALINA_CONNECTOR_PROXYPORT:=}
: ${CATALINA_CONNECTOR_SCHEME:=http}
: ${CATALINA_CONNECTOR_SECURE:=false}
: ${CATALINA_OPTS:=}
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}"
export CATALINA_OPTS
# Start Confluence as the correct user
if [ "${UID}" -eq 0 ]; then
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${CONFLUENCE_HOME}")
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
chmod -R 700 "${CONFLUENCE_HOME}" &&
chown -R "${RUN_USER}:${RUN_GROUP}" "${CONFLUENCE_HOME}"
fi
# Now drop privileges
exec su -s /bin/bash "${RUN_USER}" -c "$CONFLUENCE_INSTALL_DIR/bin/start-confluence.sh $@"
else
exec "$CONFLUENCE_INSTALL_DIR/bin/start-confluence.sh" "$@"
fi

View File

@ -0,0 +1,59 @@
- name: Read versions from file
slurp:
src: "roles/common/files/versions/confluence/4.jdk6-jdk7.txt"
register: version_output
- name: Set version variable
set_fact:
confluence_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}"
- name: Create directories for Confluence versions
file:
path: "{{ target_directory_confluence_4 }}/{{ item }}"
state: directory
mode: '0755'
force: true
with_items: "{{ confluence_versions }}"
- name: Copy .env with link from template to each version directory
template:
src: "env/template.env.j2"
dest: "{{ target_directory_confluence_4 }}/{{ item }}/.env"
force: true
with_items: "{{ confluence_versions }}"
- name: Copy docker-compose.yml from template to each version directory
template:
src: "docker-compose/template.docker-compose.jdk6-7.yml.j2"
dest: "{{ target_directory_confluence_4 }}/{{ item }}/docker-compose.yml"
force: true
with_items: "{{ confluence_versions }}"
- name: Copy Dockerfile from template to each version directory
template:
src: "dockerfile/template.Dockerfile.jdk6.j2"
dest: "{{ target_directory_confluence_4 }}/{{ item }}/Dockerfile"
force: true
with_items: "{{ confluence_versions }}"
- name: Copy Dockerfile.jdk7 from template to each version directory
template:
src: "dockerfile/template.Dockerfile.jdk7.j2"
dest: "{{ target_directory_confluence_4 }}/{{ item }}/Dockerfile.jdk7"
force: true
with_items: "{{ confluence_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.sh"
dest: "{{ target_directory_confluence_4 }}/{{ item }}/entrypoint.sh"
mode: "0777"
force: true
with_items: "{{ confluence_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory_confluence_4 }}/{{ item }}/Makefile"
force: true
with_items: "{{ confluence_versions }}"

View File

@ -0,0 +1,52 @@
- name: Read versions from file
slurp:
src: "roles/common/files/versions/confluence/4.jdk6.txt"
register: version_output
- name: Set version variable
set_fact:
confluence_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}"
- name: Create directories for Confluence versions
file:
path: "{{ target_directory_confluence_4 }}/{{ item }}"
state: directory
mode: '0755'
force: true
with_items: "{{ confluence_versions }}"
- name: Copy .env with link from template to each version directory
template:
src: "env/template.env.j2"
dest: "{{ target_directory_confluence_4 }}/{{ item }}/.env"
force: true
with_items: "{{ confluence_versions }}"
- name: Copy docker-compose.yml from template to each version directory
template:
src: "docker-compose/template.docker-compose.jdk6.yml.j2"
dest: "{{ target_directory_confluence_4 }}/{{ item }}/docker-compose.yml"
force: true
with_items: "{{ confluence_versions }}"
- name: Copy Dockerfile from template to each version directory
template:
src: "dockerfile/template.Dockerfile.jdk6.j2"
dest: "{{ target_directory_confluence_4 }}/{{ item }}/Dockerfile"
force: true
with_items: "{{ confluence_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.sh"
dest: "{{ target_directory_confluence_4 }}/{{ item }}/entrypoint.sh"
mode: "0777"
force: true
with_items: "{{ confluence_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory_confluence_4 }}/{{ item }}/Makefile"
force: true
with_items: "{{ confluence_versions }}"

View File

@ -0,0 +1,59 @@
- name: Read versions from file
slurp:
src: "roles/common/files/versions/confluence/5.jdk7-jdk8.txt"
register: version_output
- name: Set version variable
set_fact:
confluence_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}"
- name: Create directories for Confluence versions
file:
path: "{{ target_directory_confluence_5 }}/{{ item }}"
state: directory
mode: '0755'
force: true
with_items: "{{ confluence_versions }}"
- name: Copy .env with link from template to each version directory
template:
src: "env/template.env.j2"
dest: "{{ target_directory_confluence_5 }}/{{ item }}/.env"
force: true
with_items: "{{ confluence_versions }}"
- name: Copy docker-compose.yml from template to each version directory
template:
src: "docker-compose/template.docker-compose.jdk7-8.yml.j2"
dest: "{{ target_directory_confluence_5 }}/{{ item }}/docker-compose.yml"
force: true
with_items: "{{ confluence_versions }}"
- name: Copy Dockerfile from template to each version directory
template:
src: "dockerfile/template.Dockerfile.jdk7.j2"
dest: "{{ target_directory_confluence_5 }}/{{ item }}/Dockerfile"
force: true
with_items: "{{ confluence_versions }}"
- name: Copy Dockerfile from template to each version directory
template:
src: "dockerfile/template.Dockerfile.jdk8.j2"
dest: "{{ target_directory_confluence_5 }}/{{ item }}/Dockerfile.jdk8"
force: true
with_items: "{{ confluence_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.sh"
dest: "{{ target_directory_confluence_5 }}/{{ item }}/entrypoint.sh"
mode: "0777"
force: true
with_items: "{{ confluence_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory_confluence_5 }}/{{ item }}/Makefile"
force: true
with_items: "{{ confluence_versions }}"

View File

@ -0,0 +1,52 @@
- name: Read versions from file
slurp:
src: "roles/common/files/versions/confluence/5.jdk7.txt"
register: version_output
- name: Set version variable
set_fact:
confluence_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}"
- name: Create directories for Confluence versions
file:
path: "{{ target_directory_confluence_5 }}/{{ item }}"
state: directory
mode: '0755'
force: true
with_items: "{{ confluence_versions }}"
- name: Copy .env with link from template to each version directory
template:
src: "env/template.env.j2"
dest: "{{ target_directory_confluence_5 }}/{{ item }}/.env"
force: true
with_items: "{{ confluence_versions }}"
- name: Copy docker-compose.yml from template to each version directory
template:
src: "docker-compose/template.docker-compose.jdk7.yml.j2"
dest: "{{ target_directory_confluence_5 }}/{{ item }}/docker-compose.yml"
force: true
with_items: "{{ confluence_versions }}"
- name: Copy Dockerfile from template to each version directory
template:
src: "dockerfile/template.Dockerfile.jdk7.j2"
dest: "{{ target_directory_confluence_5 }}/{{ item }}/Dockerfile"
force: true
with_items: "{{ confluence_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.sh"
dest: "{{ target_directory_confluence_5 }}/{{ item }}/entrypoint.sh"
mode: "0777"
force: true
with_items: "{{ confluence_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory_confluence_5 }}/{{ item }}/Makefile"
force: true
with_items: "{{ confluence_versions }}"

View File

@ -0,0 +1,11 @@
- name: "Generate images for Confluence 4 (jdk6)"
import_tasks: atlassian.confluence.4.jdk6.yml
- name: "Generate images for Confluence 4 (jdk6 + jdk7)"
import_tasks: atlassian.confluence.4.jdk6-jdk7.yml
- name: "Generate images for Confluence 5 (jdk7)"
import_tasks: atlassian.confluence.5.jdk7.yml
- name: "Generate images for Confluence 5 (jdk7 + jdk8)"
import_tasks: atlassian.confluence.5.jdk7-jdk8.yml

View File

@ -0,0 +1,9 @@
services:
app:
image: "epicmorg/confluence:{{ item }}"
build:
context: .
app-jdk17:
image: "epicmorg/confluence:{{ item }}-jdk17"
build:
context: .

View File

@ -0,0 +1,14 @@
services:
app:
image: "epicmorg/confluence:{{ item }}"
build:
context: .
app-jdk6:
image: "epicmorg/confluence:{{ item }}-jdk6"
build:
context: .
app-jdk7:
image: "epicmorg/confluence:{{ item }}-jdk7"
build:
context: .
dockerfile: Dockerfile.jdk7

View File

@ -0,0 +1,9 @@
services:
app:
image: "epicmorg/confluence:{{ item }}"
build:
context: .
app-jdk6:
image: "epicmorg/confluence:{{ item }}-jdk6"
build:
context: .

View File

@ -0,0 +1,14 @@
services:
app:
image: "epicmorg/confluence:{{ item }}"
build:
context: .
app-jdk7:
image: "epicmorg/confluence:{{ item }}-jdk7"
build:
context: .
app-jdk8:
image: "epicmorg/confluence:{{ item }}-jdk8"
build:
context: .
dockerfile: Dockerfile.jdk8

View File

@ -0,0 +1,9 @@
services:
app:
image: "epicmorg/confluence:{{ item }}"
build:
context: .
app-jdk7:
image: "epicmorg/confluence:{{ item }}-jdk7"
build:
context: .

View File

@ -0,0 +1,19 @@
services:
app:
image: "epicmorg/confluence:{{ item }}"
build:
context: .
app-jdk8:
image: "epicmorg/confluence:{{ item }}-jdk8"
build:
context: .
app-jdk11:
image: "epicmorg/confluence:{{ item }}-jdk11"
build:
context: .
dockerfile: Dockerfile.jdk11
app-jdk17:
image: "epicmorg/confluence:{{ item }}-jdk17"
build:
context: .
dockerfile: Dockerfile.jdk17

View File

@ -0,0 +1,14 @@
services:
app:
image: "epicmorg/confluence:{{ item }}"
build:
context: .
app-jdk8:
image: "epicmorg/confluence:{{ item }}-jdk8"
build:
context: .
app-jdk11:
image: "epicmorg/confluence:{{ item }}-jdk11"
build:
context: .
dockerfile: Dockerfile.jdk11

View File

@ -0,0 +1,9 @@
services:
app:
image: "epicmorg/confluence:{{ item }}"
build:
context: .
app-jdk8:
image: "epicmorg/confluence:{{ item }}-jdk8"
build:
context: .

View File

@ -0,0 +1,63 @@
FROM epicmorg/debian:bookworm-jdk11
LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
ARG RELEASE={{ item }}
ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
VOLUME ["${CONFLUENCE_HOME}"]
WORKDIR $CONFLUENCE_HOME
# Expose HTTP and Synchrony ports
EXPOSE 8090
EXPOSE 8091
##################################################################
# Installing
##################################################################
ADD ${DOWNLOAD_URL} /tmp
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \
tar -xvzf /tmp/atlassian-confluence-${RELEASE}.tar.gz --strip-components=1 --directory "${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/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
##################################################################
# cleanup
##################################################################
RUN echo "clean up" && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
RUN updatedb

View File

@ -0,0 +1,63 @@
FROM epicmorg/debian:bookworm-jdk17
LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
ARG RELEASE={{ item }}
ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
VOLUME ["${CONFLUENCE_HOME}"]
WORKDIR $CONFLUENCE_HOME
# Expose HTTP and Synchrony ports
EXPOSE 8090
EXPOSE 8091
##################################################################
# Installing
##################################################################
ADD ${DOWNLOAD_URL} /tmp
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \
tar -xvzf /tmp/atlassian-confluence-${RELEASE}.tar.gz --strip-components=1 --directory "${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/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
##################################################################
# cleanup
##################################################################
RUN echo "clean up" && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
RUN updatedb

View File

@ -0,0 +1,63 @@
FROM epicmorg/debian:bookworm-jdk17
LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
ARG RELEASE={{ item }}
ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
VOLUME ["${CONFLUENCE_HOME}"]
WORKDIR $CONFLUENCE_HOME
# Expose HTTP and Synchrony ports
EXPOSE 8090
EXPOSE 8091
##################################################################
# Installing
##################################################################
ADD ${DOWNLOAD_URL} /tmp
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \
tar -xvzf /tmp/atlassian-confluence-${RELEASE}.tar.gz --strip-components=1 --directory "${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/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
##################################################################
# cleanup
##################################################################
RUN echo "clean up" && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
RUN updatedb

View File

@ -0,0 +1,63 @@
FROM epicmorg/debian:bookworm-jdk6
LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
ARG RELEASE={{ item }}
ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
VOLUME ["${CONFLUENCE_HOME}"]
WORKDIR $CONFLUENCE_HOME
# Expose HTTP and Synchrony ports
EXPOSE 8090
EXPOSE 8091
##################################################################
# Installing
##################################################################
ADD ${DOWNLOAD_URL} /tmp
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \
tar -xvzf /tmp/atlassian-confluence-${RELEASE}.tar.gz --strip-components=1 --directory "${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/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
##################################################################
# cleanup
##################################################################
RUN echo "clean up" && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
RUN updatedb

View File

@ -0,0 +1,63 @@
FROM epicmorg/debian:bookworm-jdk7
LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
ARG RELEASE={{ item }}
ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
VOLUME ["${CONFLUENCE_HOME}"]
WORKDIR $CONFLUENCE_HOME
# Expose HTTP and Synchrony ports
EXPOSE 8090
EXPOSE 8091
##################################################################
# Installing
##################################################################
ADD ${DOWNLOAD_URL} /tmp
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \
tar -xvzf /tmp/atlassian-confluence-${RELEASE}.tar.gz --strip-components=1 --directory "${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/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
##################################################################
# cleanup
##################################################################
RUN echo "clean up" && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
RUN updatedb

View File

@ -0,0 +1,63 @@
FROM epicmorg/debian:bookworm-jdk8
LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
ARG RELEASE={{ item }}
ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
VOLUME ["${CONFLUENCE_HOME}"]
WORKDIR $CONFLUENCE_HOME
# Expose HTTP and Synchrony ports
EXPOSE 8090
EXPOSE 8091
##################################################################
# Installing
##################################################################
ADD ${DOWNLOAD_URL} /tmp
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \
tar -xvzf /tmp/atlassian-confluence-${RELEASE}.tar.gz --strip-components=1 --directory "${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/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
##################################################################
# cleanup
##################################################################
RUN echo "clean up" && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
RUN updatedb

View File

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

View File

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

View File

@ -0,0 +1,10 @@
# Defaults
target_directory_confluence_1: "/opt/tmp/confluence/1"
target_directory_confluence_2: "/opt/tmp/confluence/2"
target_directory_confluence_3: "/opt/tmp/confluence/3"
target_directory_confluence_4: "/opt/tmp/confluence/4"
target_directory_confluence_5: "/opt/tmp/confluence/5"
target_directory_confluence_6: "/opt/tmp/confluence/6"
target_directory_confluence_7: "/opt/tmp/confluence/7"
target_directory_confluence_8: "/opt/tmp/confluence/8"
target_directory_confluence_9: "/opt/tmp/confluence/9"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/jira:{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/jira:{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/jira:{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/jira:{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/jira:{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/jira:{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/jira:{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/jira:{{ item }}"

View File

@ -0,0 +1,10 @@
1.0.3a
1.1.2
1.2.3
1.3.5
1.3.6
1.4.1
1.4.2
1.4.3
1.4.4
1.4

View File

@ -0,0 +1,28 @@
2.0
2.0.1
2.0.2
2.0.3
2.1
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.1.5a
2.2
2.2.1
2.2.1a
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6a
2.2.7
2.2.8
2.2.9
2.2.10
2.6.3
2.7.4
2.8.3
2.9.3
2.10.4

View File

@ -0,0 +1,32 @@
3.0.1
3.0.2
3.1
3.1.1
3.1.2
3.2
3.2.1_01
3.3
3.3.1
3.3.3
3.4
3.4.1
3.4.2
3.4.3
3.4.5
3.4.6
3.4.7
3.4.8
3.4.9
3.5
3.5.1
3.5.2
3.5.3
3.5.4
3.5.5
3.5.6
3.5.7
3.5.9
3.5.11
3.5.13
3.5.16
3.5.17

View File

@ -0,0 +1,19 @@
4.2
4.2.1
4.2.2
4.2.3
4.2.4
4.2.5
4.2.6
4.2.7
4.2.8
4.2.11
4.2.12
4.2.13
4.3
4.3.1
4.3.2
4.3.3
4.3.5
4.3.6
4.3.7

View File

@ -0,0 +1,14 @@
4.0
4.0.3
4.0.4
4.0.5
4.0.7
4.1
4.1.2
4.1.3
4.1.4
4.1.5
4.1.6
4.1.7
4.1.9
4.1.10

View File

@ -0,0 +1,43 @@
5.7
5.7.1
5.7.3
5.7.4
5.7.5
5.7.6
5.8.2
5.8.4
5.8.5
5.8.6
5.8.8
5.8.9
5.8.10
5.8.13
5.8.14
5.8.15
5.8.16
5.8.17
5.8.18
5.9.1
5.9.1-beta11
5.9.2
5.9.3
5.9.4
5.9.5
5.9.6
5.9.7
5.9.8
5.9.9
5.9.10
5.9.11
5.9.12
5.9.14
5.10.0
5.10.1
5.10.2
5.10.3
5.10.4
5.10.6
5.10.7
5.10.8
5.10.9

View File

@ -0,0 +1,31 @@
5.0
5.0.1
5.0.2
5.0.3
5.1
5.1.1
5.1.2
5.1.3
5.1.4
5.1.5
5.2.3
5.2.5
5.3
5.3.1
5.3.4
5.4
5.4.1
5.4.2
5.4.3
5.4.4
5.5-OD-31-009
5.5
5.5.1
5.5.2
5.5.3
5.5.6
5.6.1
5.6.3
5.6.4
5.6.5
5.6.6

View File

@ -0,0 +1,104 @@
6.0.1
6.0.2
6.0.3
6.0.4
6.0.5
6.0.6
6.0.7
6.1.0
6.1.1
6.1.2
6.1.3
6.1.4
6.2.0
6.2.1
6.2.2
6.2.3
6.2.4
6.3.1
6.3.2
6.3.3
6.3.4
6.4.0
6.4.1
6.4.2
6.4.3
6.5.0
6.5.1
6.5.2
6.5.3
6.6.0
6.6.1
6.6.2
6.6.3
6.6.4
6.6.5
6.6.6
6.6.7
6.6.8
6.6.9
6.6.10
6.6.11
6.6.12
6.6.13
6.6.14
6.6.15
6.6.16
6.6.17
6.7.0
6.7.1
6.7.2
6.7.3
6.8.0
6.8.1
6.8.2
6.8.3
6.8.5
6.9.0
6.9.1
6.9.3
6.10.0
6.10.1
6.10.2
6.10.3
6.11.0
6.11.1
6.11.2
6.12.0
6.12.1
6.12.2
6.12.3
6.12.4
6.13.0
6.13.1
6.13.2
6.13.3
6.13.4
6.13.5
6.13.6
6.13.7
6.13.8
6.13.9
6.13.10
6.13.11
6.13.12
6.13.13
6.13.15
6.13.17
6.13.18
6.13.19
6.13.20
6.13.21
6.13.23
6.14.0
6.14.1
6.14.2
6.14.3
6.15.1
6.15.2
6.15.4
6.15.6
6.15.7
6.15.8
6.15.9
6.15.10

View File

@ -0,0 +1,143 @@
7.0.1
7.0.2
7.0.3
7.0.4
7.0.5
7.1.0
7.1.1
7.1.2
7.2.0
7.2.1
7.2.2
7.3.1
7.3.2
7.3.3
7.3.4
7.3.5
7.4.0
7.4.1
7.4.3
7.4.4
7.4.5
7.4.6
7.4.7
7.4.8
7.4.9
7.4.10
7.4.11
7.4.12
7.4.13
7.4.14
7.4.15
7.4.16
7.4.17
7.4.18
7.5.0
7.5.1
7.5.2
7.6.0
7.6.1
7.6.2
7.6.3
7.7.2
7.7.3
7.7.4
7.8.0
7.8.1
7.8.3
7.9.0
7.9.1
7.9.3
7.10.0
7.10.1
7.10.2
7.11.0
7.11.1
7.11.2
7.11.3
7.11.6
7.12.0
7.12.1
7.12.2
7.12.3
7.12.4
7.12.5
7.13.0
7.13.1
7.13.2
7.13.3
7.13.4
7.13.5
7.13.6
7.13.7
7.13.8
7.13.9
7.13.11
7.13.12
7.13.13
7.13.14
7.13.15
7.13.16
7.13.17
7.13.18
7.13.19
7.13.20
7.14.0
7.14.1
7.14.2
7.14.3
7.14.4
7.15.0
7.15.1
7.15.2
7.15.3
7.16.0
7.16.1
7.16.2
7.16.3
7.16.4
7.16.5
7.17.0
7.17.1
7.17.2
7.17.3
7.17.4
7.17.5
7.18.0
7.18.1
7.18.2
7.18.3
7.19.0
7.19.1
7.19.2
7.19.3
7.19.4
7.19.5
7.19.6
7.19.7
7.19.8
7.19.9
7.19.10
7.19.11
7.19.12
7.19.14
7.19.15
7.19.16
7.19.17
7.19.18
7.19.19
7.19.20
7.19.21
7.19.22
7.19.23
7.19.24
7.19.25
7.19.26
7.19.27
7.19.28
7.19.29
7.19.30
7.20.0
7.20.1
7.20.2
7.20.3

View File

@ -0,0 +1,5 @@
7.0.1
7.0.2
7.0.3
7.0.4
7.0.5

View File

@ -0,0 +1,60 @@
8.0.0
8.0.1
8.0.2
8.0.3
8.0.4
8.1.0
8.1.1
8.1.3
8.1.4
8.2.0
8.2.1
8.2.2
8.2.3
8.3.0
8.3.1
8.3.2
8.3.3
8.3.4
8.4.0
8.4.1
8.4.2
8.4.3
8.4.4
8.4.5
8.5.0
8.5.1
8.5.2
8.5.3
8.5.4
8.5.5
8.5.6
8.5.7
8.5.8
8.5.9
8.5.10
8.5.11
8.5.12
8.5.14
8.5.15
8.5.16
8.5.17
8.5.18
8.5.19
8.5.20
8.6.0
8.6.1
8.6.2
8.7.1
8.7.2
8.8.0
8.8.1
8.9.0
8.9.1
8.9.2
8.9.3
8.9.4
8.9.5
8.9.6
8.9.7
8.9.8

View File

@ -0,0 +1,10 @@
9.0.1
9.0.2
9.0.3
9.1.0
9.1.1
9.2.0
9.2.1
9.2.2
9.3.1
9.3.2

View File

@ -0,0 +1,9 @@
0.3.1
0.3.2
0.3.3
0.4
0.4.1
0.4.2
0.4.3
0.4.4
0.4.5

View File

@ -0,0 +1,31 @@
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.1.0
1.1.1
1.1.2
1.2.0
1.2.1
1.2.2
1.2.4
1.3
1.3.2
1.3.3
1.4
1.4.2
1.4.3
1.4.4
1.4.7
1.4.8
1.5
1.5.1
1.5.2
1.5.3
1.6
1.6.1
1.6.3

View File

@ -0,0 +1,60 @@
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.0.7
2.0.9
2.1.0
2.1.0-beta4
2.1.1
2.1.2
2.2.2
2.2.4
2.2.7
2.2.9
2.3.1
2.3.2
2.3.3
2.3.4
2.3.6
2.3.7
2.3.9
2.4.0
2.4.1
2.4.2
2.4.10
2.5.0
2.5.1
2.5.2
2.5.3
2.5.4
2.5.5
2.5.7
2.6.0
2.6.1
2.6.2
2.6.3
2.6.4
2.6.5
2.6.7
2.7.0
2.7.1
2.7.2
2.8.0
2.8.2
2.8.3
2.8.4
2.8.8
2.9.1
2.9.5
2.9.7
2.10.1
2.10.2
2.10.3
2.11.0
2.11.1
2.11.2
2.12.0

View File

@ -0,0 +1,39 @@
3.0.0
3.0.1
3.0.2
3.0.3
3.0.5
3.1.1
3.1.2
3.1.3
3.1.4
3.1.5
3.1.6
3.2.0
3.2.1
3.2.2
3.2.3
3.2.5
3.2.6
3.2.7
3.2.8
3.2.11
3.3.0
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.3.7
3.4.0
3.4.3
3.4.4
3.4.5
3.4.6
3.5.0
3.5.1
3.6.0
3.6.2
3.7.0
3.7.1
3.7.2

View File

@ -0,0 +1,34 @@
4.0.0
4.0.2
4.0.3
4.0.4
4.0.5
4.1.0
4.1.1
4.1.2
4.1.3
4.1.5
4.1.6
4.1.8
4.1.9
4.1.10
4.2.0
4.2.1
4.2.2
4.2.3
4.2.4
4.2.5
4.3.0
4.3.5
4.3.7
4.3.8
4.3.9
4.3.10
4.3.11
4.4.0
4.4.1
4.4.2
4.4.3
4.4.4
4.4.5
4.4.6

View File

@ -0,0 +1,42 @@
5.0.0
5.0.1
5.0.2
5.0.3
5.0.4
5.0.5
5.0.6
5.0.7
5.0.8
5.0.9
5.0.10
5.0.11
5.1.0
5.1.1
5.1.2
5.1.3
5.1.4
5.1.5
5.1.6
5.1.7
5.1.8
5.1.9
5.1.11
5.1.12
5.1.13
5.2.0
5.2.1
5.2.2
5.2.3
5.2.4
5.2.6
5.2.7
5.2.8
5.2.9
5.2.10
5.3.0
5.3.1
5.3.2
5.3.3
5.3.4
5.3.5
5.3.6

View File

@ -0,0 +1,15 @@
6.0.0
6.0.1
6.0.2
6.0.3
6.0.4
6.0.6
6.0.7
6.1.0
6.1.1
6.1.2
6.1.3
6.1.4
6.2.0
6.2.2
6.2.3

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/testrail:auth-ad-{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/testrail:auth-ldap-{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/testrail:{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/testrail:auth-ad-{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/testrail:auth-ldap-{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/testrail:{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/testrail:auth-ad-{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/testrail:auth-ldap-{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/testrail:{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/testrail:auth-ad-{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/testrail:auth-ldap-{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/testrail:{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/testrail:auth-ad-{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/testrail:auth-ldap-{{ item }}"

View File

@ -1,4 +1,3 @@
#version: '3.9'
services:
app:
image: "epicmorg/testrail:{{ item }}"

View File

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

View File

@ -0,0 +1,63 @@
FROM epicmorg/debian:bookworm-jdk6
LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
ARG RELEASE=4.0.3
ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
VOLUME ["${CONFLUENCE_HOME}"]
WORKDIR $CONFLUENCE_HOME
# Expose HTTP and Synchrony ports
EXPOSE 8090
EXPOSE 8091
##################################################################
# Installing
##################################################################
ADD ${DOWNLOAD_URL} /tmp
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \
tar -xvzf /tmp/atlassian-confluence-${RELEASE}.tar.gz --strip-components=1 --directory "${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/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
##################################################################
# cleanup
##################################################################
RUN echo "clean up" && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
RUN updatedb

View File

@ -0,0 +1,38 @@
PIP_BREAK_SYSTEM_PACKAGES=1
all: app
app:
make build
make deploy
make clean
build:
buildah-wrapper --build
deploy:
buildah-wrapper --deploy
build-kaniko:
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
deploy-kaniko:
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
build-compose:
docker-compose build --compress --parallel --progress plain
deploy-compose:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
buildah rm -a
buildah rmi -a

View File

@ -0,0 +1,9 @@
services:
app:
image: "epicmorg/confluence:4.0.3"
build:
context: .
app-jdk6:
image: "epicmorg/confluence:4.0.3-jdk6"
build:
context: .

View File

@ -0,0 +1,39 @@
#!/bin/bash
set -euo pipefail
export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
export JRE_HOME="$JAVA_HOME/jre"
export JAVA_BINARY="$JRE_HOME/bin/java"
export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}')
# Setup Catalina Opts
: ${CATALINA_CONNECTOR_PROXYNAME:=}
: ${CATALINA_CONNECTOR_PROXYPORT:=}
: ${CATALINA_CONNECTOR_SCHEME:=http}
: ${CATALINA_CONNECTOR_SECURE:=false}
: ${CATALINA_OPTS:=}
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}"
export CATALINA_OPTS
# Start Confluence as the correct user
if [ "${UID}" -eq 0 ]; then
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${CONFLUENCE_HOME}")
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
chmod -R 700 "${CONFLUENCE_HOME}" &&
chown -R "${RUN_USER}:${RUN_GROUP}" "${CONFLUENCE_HOME}"
fi
# Now drop privileges
exec su -s /bin/bash "${RUN_USER}" -c "$CONFLUENCE_INSTALL_DIR/bin/start-confluence.sh $@"
else
exec "$CONFLUENCE_INSTALL_DIR/bin/start-confluence.sh" "$@"
fi

View File

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

View File

@ -0,0 +1,63 @@
FROM epicmorg/debian:bookworm-jdk6
LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
ARG RELEASE=4.0.4
ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
VOLUME ["${CONFLUENCE_HOME}"]
WORKDIR $CONFLUENCE_HOME
# Expose HTTP and Synchrony ports
EXPOSE 8090
EXPOSE 8091
##################################################################
# Installing
##################################################################
ADD ${DOWNLOAD_URL} /tmp
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \
tar -xvzf /tmp/atlassian-confluence-${RELEASE}.tar.gz --strip-components=1 --directory "${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/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
##################################################################
# cleanup
##################################################################
RUN echo "clean up" && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
RUN updatedb

View File

@ -0,0 +1,38 @@
PIP_BREAK_SYSTEM_PACKAGES=1
all: app
app:
make build
make deploy
make clean
build:
buildah-wrapper --build
deploy:
buildah-wrapper --deploy
build-kaniko:
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
deploy-kaniko:
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
build-compose:
docker-compose build --compress --parallel --progress plain
deploy-compose:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
buildah rm -a
buildah rmi -a

View File

@ -0,0 +1,9 @@
services:
app:
image: "epicmorg/confluence:4.0.4"
build:
context: .
app-jdk6:
image: "epicmorg/confluence:4.0.4-jdk6"
build:
context: .

View File

@ -0,0 +1,39 @@
#!/bin/bash
set -euo pipefail
export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
export JRE_HOME="$JAVA_HOME/jre"
export JAVA_BINARY="$JRE_HOME/bin/java"
export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}')
# Setup Catalina Opts
: ${CATALINA_CONNECTOR_PROXYNAME:=}
: ${CATALINA_CONNECTOR_PROXYPORT:=}
: ${CATALINA_CONNECTOR_SCHEME:=http}
: ${CATALINA_CONNECTOR_SECURE:=false}
: ${CATALINA_OPTS:=}
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}"
export CATALINA_OPTS
# Start Confluence as the correct user
if [ "${UID}" -eq 0 ]; then
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${CONFLUENCE_HOME}")
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
chmod -R 700 "${CONFLUENCE_HOME}" &&
chown -R "${RUN_USER}:${RUN_GROUP}" "${CONFLUENCE_HOME}"
fi
# Now drop privileges
exec su -s /bin/bash "${RUN_USER}" -c "$CONFLUENCE_INSTALL_DIR/bin/start-confluence.sh $@"
else
exec "$CONFLUENCE_INSTALL_DIR/bin/start-confluence.sh" "$@"
fi

View File

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

View File

@ -0,0 +1,63 @@
FROM epicmorg/debian:bookworm-jdk6
LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
ARG RELEASE=4.0.5
ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
VOLUME ["${CONFLUENCE_HOME}"]
WORKDIR $CONFLUENCE_HOME
# Expose HTTP and Synchrony ports
EXPOSE 8090
EXPOSE 8091
##################################################################
# Installing
##################################################################
ADD ${DOWNLOAD_URL} /tmp
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \
tar -xvzf /tmp/atlassian-confluence-${RELEASE}.tar.gz --strip-components=1 --directory "${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/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
##################################################################
# cleanup
##################################################################
RUN echo "clean up" && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
RUN updatedb

View File

@ -0,0 +1,38 @@
PIP_BREAK_SYSTEM_PACKAGES=1
all: app
app:
make build
make deploy
make clean
build:
buildah-wrapper --build
deploy:
buildah-wrapper --deploy
build-kaniko:
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
deploy-kaniko:
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
build-compose:
docker-compose build --compress --parallel --progress plain
deploy-compose:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
buildah rm -a
buildah rmi -a

View File

@ -0,0 +1,9 @@
services:
app:
image: "epicmorg/confluence:4.0.5"
build:
context: .
app-jdk6:
image: "epicmorg/confluence:4.0.5-jdk6"
build:
context: .

View File

@ -0,0 +1,39 @@
#!/bin/bash
set -euo pipefail
export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
export JRE_HOME="$JAVA_HOME/jre"
export JAVA_BINARY="$JRE_HOME/bin/java"
export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}')
# Setup Catalina Opts
: ${CATALINA_CONNECTOR_PROXYNAME:=}
: ${CATALINA_CONNECTOR_PROXYPORT:=}
: ${CATALINA_CONNECTOR_SCHEME:=http}
: ${CATALINA_CONNECTOR_SECURE:=false}
: ${CATALINA_OPTS:=}
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}"
export CATALINA_OPTS
# Start Confluence as the correct user
if [ "${UID}" -eq 0 ]; then
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${CONFLUENCE_HOME}")
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
chmod -R 700 "${CONFLUENCE_HOME}" &&
chown -R "${RUN_USER}:${RUN_GROUP}" "${CONFLUENCE_HOME}"
fi
# Now drop privileges
exec su -s /bin/bash "${RUN_USER}" -c "$CONFLUENCE_INSTALL_DIR/bin/start-confluence.sh $@"
else
exec "$CONFLUENCE_INSTALL_DIR/bin/start-confluence.sh" "$@"
fi

View File

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

View File

@ -0,0 +1,63 @@
FROM epicmorg/debian:bookworm-jdk6
LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
ARG RELEASE=4.0.7
ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
VOLUME ["${CONFLUENCE_HOME}"]
WORKDIR $CONFLUENCE_HOME
# Expose HTTP and Synchrony ports
EXPOSE 8090
EXPOSE 8091
##################################################################
# Installing
##################################################################
ADD ${DOWNLOAD_URL} /tmp
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \
tar -xvzf /tmp/atlassian-confluence-${RELEASE}.tar.gz --strip-components=1 --directory "${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/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
##################################################################
# cleanup
##################################################################
RUN echo "clean up" && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
RUN updatedb

View File

@ -0,0 +1,38 @@
PIP_BREAK_SYSTEM_PACKAGES=1
all: app
app:
make build
make deploy
make clean
build:
buildah-wrapper --build
deploy:
buildah-wrapper --deploy
build-kaniko:
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
deploy-kaniko:
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
build-compose:
docker-compose build --compress --parallel --progress plain
deploy-compose:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
buildah rm -a
buildah rmi -a

View File

@ -0,0 +1,9 @@
services:
app:
image: "epicmorg/confluence:4.0.7"
build:
context: .
app-jdk6:
image: "epicmorg/confluence:4.0.7-jdk6"
build:
context: .

View File

@ -0,0 +1,39 @@
#!/bin/bash
set -euo pipefail
export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
export JRE_HOME="$JAVA_HOME/jre"
export JAVA_BINARY="$JRE_HOME/bin/java"
export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}')
# Setup Catalina Opts
: ${CATALINA_CONNECTOR_PROXYNAME:=}
: ${CATALINA_CONNECTOR_PROXYPORT:=}
: ${CATALINA_CONNECTOR_SCHEME:=http}
: ${CATALINA_CONNECTOR_SECURE:=false}
: ${CATALINA_OPTS:=}
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}"
export CATALINA_OPTS
# Start Confluence as the correct user
if [ "${UID}" -eq 0 ]; then
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${CONFLUENCE_HOME}")
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
chmod -R 700 "${CONFLUENCE_HOME}" &&
chown -R "${RUN_USER}:${RUN_GROUP}" "${CONFLUENCE_HOME}"
fi
# Now drop privileges
exec su -s /bin/bash "${RUN_USER}" -c "$CONFLUENCE_INSTALL_DIR/bin/start-confluence.sh $@"
else
exec "$CONFLUENCE_INSTALL_DIR/bin/start-confluence.sh" "$@"
fi

View File

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

View File

@ -0,0 +1,63 @@
FROM epicmorg/debian:bookworm-jdk6
LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
ARG RELEASE=4.0
ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
VOLUME ["${CONFLUENCE_HOME}"]
WORKDIR $CONFLUENCE_HOME
# Expose HTTP and Synchrony ports
EXPOSE 8090
EXPOSE 8091
##################################################################
# Installing
##################################################################
ADD ${DOWNLOAD_URL} /tmp
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \
tar -xvzf /tmp/atlassian-confluence-${RELEASE}.tar.gz --strip-components=1 --directory "${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/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
##################################################################
# cleanup
##################################################################
RUN echo "clean up" && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
RUN updatedb

View File

@ -0,0 +1,38 @@
PIP_BREAK_SYSTEM_PACKAGES=1
all: app
app:
make build
make deploy
make clean
build:
buildah-wrapper --build
deploy:
buildah-wrapper --deploy
build-kaniko:
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
deploy-kaniko:
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
build-compose:
docker-compose build --compress --parallel --progress plain
deploy-compose:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
buildah rm -a
buildah rmi -a

View File

@ -0,0 +1,9 @@
services:
app:
image: "epicmorg/confluence:4.0"
build:
context: .
app-jdk6:
image: "epicmorg/confluence:4.0-jdk6"
build:
context: .

View File

@ -0,0 +1,39 @@
#!/bin/bash
set -euo pipefail
export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
export JRE_HOME="$JAVA_HOME/jre"
export JAVA_BINARY="$JRE_HOME/bin/java"
export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}')
# Setup Catalina Opts
: ${CATALINA_CONNECTOR_PROXYNAME:=}
: ${CATALINA_CONNECTOR_PROXYPORT:=}
: ${CATALINA_CONNECTOR_SCHEME:=http}
: ${CATALINA_CONNECTOR_SECURE:=false}
: ${CATALINA_OPTS:=}
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}"
export CATALINA_OPTS
# Start Confluence as the correct user
if [ "${UID}" -eq 0 ]; then
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${CONFLUENCE_HOME}")
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
chmod -R 700 "${CONFLUENCE_HOME}" &&
chown -R "${RUN_USER}:${RUN_GROUP}" "${CONFLUENCE_HOME}"
fi
# Now drop privileges
exec su -s /bin/bash "${RUN_USER}" -c "$CONFLUENCE_INSTALL_DIR/bin/start-confluence.sh $@"
else
exec "$CONFLUENCE_INSTALL_DIR/bin/start-confluence.sh" "$@"
fi

View File

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

View File

@ -0,0 +1,63 @@
FROM epicmorg/debian:bookworm-jdk6
LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
ARG RELEASE=4.1.10
ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
VOLUME ["${CONFLUENCE_HOME}"]
WORKDIR $CONFLUENCE_HOME
# Expose HTTP and Synchrony ports
EXPOSE 8090
EXPOSE 8091
##################################################################
# Installing
##################################################################
ADD ${DOWNLOAD_URL} /tmp
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \
tar -xvzf /tmp/atlassian-confluence-${RELEASE}.tar.gz --strip-components=1 --directory "${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/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
##################################################################
# cleanup
##################################################################
RUN echo "clean up" && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
RUN updatedb

View File

@ -0,0 +1,38 @@
PIP_BREAK_SYSTEM_PACKAGES=1
all: app
app:
make build
make deploy
make clean
build:
buildah-wrapper --build
deploy:
buildah-wrapper --deploy
build-kaniko:
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
deploy-kaniko:
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
build-compose:
docker-compose build --compress --parallel --progress plain
deploy-compose:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
buildah rm -a
buildah rmi -a

View File

@ -0,0 +1,9 @@
services:
app:
image: "epicmorg/confluence:4.1.10"
build:
context: .
app-jdk6:
image: "epicmorg/confluence:4.1.10-jdk6"
build:
context: .

View File

@ -0,0 +1,39 @@
#!/bin/bash
set -euo pipefail
export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
export JRE_HOME="$JAVA_HOME/jre"
export JAVA_BINARY="$JRE_HOME/bin/java"
export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}')
# Setup Catalina Opts
: ${CATALINA_CONNECTOR_PROXYNAME:=}
: ${CATALINA_CONNECTOR_PROXYPORT:=}
: ${CATALINA_CONNECTOR_SCHEME:=http}
: ${CATALINA_CONNECTOR_SECURE:=false}
: ${CATALINA_OPTS:=}
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}"
export CATALINA_OPTS
# Start Confluence as the correct user
if [ "${UID}" -eq 0 ]; then
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${CONFLUENCE_HOME}")
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
chmod -R 700 "${CONFLUENCE_HOME}" &&
chown -R "${RUN_USER}:${RUN_GROUP}" "${CONFLUENCE_HOME}"
fi
# Now drop privileges
exec su -s /bin/bash "${RUN_USER}" -c "$CONFLUENCE_INSTALL_DIR/bin/start-confluence.sh $@"
else
exec "$CONFLUENCE_INSTALL_DIR/bin/start-confluence.sh" "$@"
fi

View File

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

View File

@ -0,0 +1,63 @@
FROM epicmorg/debian:bookworm-jdk6
LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
ARG RELEASE=4.1.2
ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz
##################################################################
# Setup
##################################################################
ENV RUN_USER daemon
ENV RUN_GROUP daemon
# https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html
ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence
ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence
VOLUME ["${CONFLUENCE_HOME}"]
WORKDIR $CONFLUENCE_HOME
# Expose HTTP and Synchrony ports
EXPOSE 8090
EXPOSE 8091
##################################################################
# Installing
##################################################################
ADD ${DOWNLOAD_URL} /tmp
RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \
tar -xvzf /tmp/atlassian-confluence-${RELEASE}.tar.gz --strip-components=1 --directory "${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/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
##################################################################
# cleanup
##################################################################
RUN echo "clean up" && \
apt-get clean -y && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /root/tmp/* && \
rm -rfv /tmp/*
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
RUN updatedb

View File

@ -0,0 +1,38 @@
PIP_BREAK_SYSTEM_PACKAGES=1
all: app
app:
make build
make deploy
make clean
build:
buildah-wrapper --build
deploy:
buildah-wrapper --deploy
build-kaniko:
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
deploy-kaniko:
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
build-compose:
docker-compose build --compress --parallel --progress plain
deploy-compose:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
buildah rm -a
buildah rmi -a

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